1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-19 01:24:46 +02:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Sébastien Helleu b20b5f1e41 [WIP] javascript: add compatibility with v8 version 6.8
This is work in progress, the javascript plugin does not yet compile.

Compatibility with old v8 lib will be added later, for now I'm focused on
compiling the plugin with v8 version 6.8.
2021-01-30 14:35:39 +01:00
83 changed files with 1667 additions and 2529 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
build: build:
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
-1
View File
@@ -44,7 +44,6 @@ Alphabetically:
* Elián Hanisch (m4v) * Elián Hanisch (m4v)
* Emanuele Giaquinta * Emanuele Giaquinta
* emk * emk
* Érico Nogueira
* Esteban I. Ruiz Moreno (Exio) * Esteban I. Ruiz Moreno (Exio)
* Evgeny Shmarnev * Evgeny Shmarnev
* Felix Eckhofer * Felix Eckhofer
+9 -25
View File
@@ -16,47 +16,31 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
[[v3.1]] [[v3.1]]
== Version 3.1 (2021-03-07) == Version 3.1 (under dev)
New features:: New features::
* core: add options weechat.look.hotlist_update_on_buffer_switch and weechat.look.read_marker_update_on_buffer_switch (issue #992, issue #993)
* core: add option sec.crypt.passphrase_command to read passphrase from an external program on startup, remove option sec.crypt.passphrase_file (issue #141)
* core: improve debug in command /eval: display more verbose debug with two "-d", add indentation and colors * core: improve debug in command /eval: display more verbose debug with two "-d", add indentation and colors
* core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar" * core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"
* core: add buffer local variable "completion_default_template" (evaluated) to override the value of option "weechat.completion.default_template" (issue #1600) * core: add buffer local variable "completion_default_template" (evaluated) to override the value of option "weechat.completion.default_template" (issue #1600)
* core: add option "recreate" in command /filter * core: add option "recreate" in command /filter
* core: add raw string in evaluation of expressions with "raw:xxx" (issue #1611) * core: add evaluation of conditions in evaluation of expressions with "eval_cond:" (issue #1582)
* core: add evaluation of conditions in evaluation of expressions with "eval_cond:xxx" (issue #1582)
* api: add info_hashtable "secured_data"
* irc: add info "irc_is_message_ignored"
* irc: add server option "default_chantypes", used when the server does not send them in message 005 (issue #1610) * irc: add server option "default_chantypes", used when the server does not send them in message 005 (issue #1610)
* trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (issue #1580) * trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (issue #1580)
Bug fixes:: Bug fixes::
* core: fix quoted line in cursor mode (issue #1602)
* core: fix wrong size of the new window after vertical split (issue #1612)
* core: do not remove quotes in arguments of command /eval as they can be part of the evaluated expression/condition (issue #1601) * core: do not remove quotes in arguments of command /eval as they can be part of the evaluated expression/condition (issue #1601)
* core: display an error when the buffer is not found with command /command -buffer * core: display an error when the buffer is not found with command /command -buffer
* buflist: add option buflist.look.use_items to speed up display of buflist (issue #1613) * exec: fix search of command by identifier
* irc: add bar item "irc_nick_prefix"
* irc: fix separator between nick and host in bar item "irc_nick_host"
* irc: fix completion of commands /halfop and /dehalfop * irc: fix completion of commands /halfop and /dehalfop
* spell: fix crash with IRC color codes in command line (issue #1589)
* spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
Documentation:: Documentation::
* do not build weechat-headless man page if headless binary is disabled (issue #1607) * do not build weechat-headless man page if headless binary is disabled (issue #1607)
[[v3.0.1]]
== Version 3.0.1 (2021-01-31)
Bug fixes::
* exec: fix search of command by identifier
* spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
* spell: fix crash with IRC color codes in command line (issue #1589)
[[v3.0]] [[v3.0]]
== Version 3.0 (2020-11-11) == Version 3.0 (2020-11-11)
@@ -193,7 +177,7 @@ New features::
* buflist: add pointer "window" in bar item evaluation * buflist: add pointer "window" in bar item evaluation
* irc: add support of fake servers (no I/O, for testing purposes) * irc: add support of fake servers (no I/O, for testing purposes)
* relay: accept hash of password in init command of weechat protocol with option "password_hash" (PBKDF2, SHA256, SHA512) * relay: accept hash of password in init command of weechat protocol with option "password_hash" (PBKDF2, SHA256, SHA512)
* relay: reject client with weechat protocol if password or TOTP is received in init command but not set in WeeChat (issue #1435) * relay: reject client with weechat protocol if password or totp is received in init command but not set in WeeChat (issue #1435)
Bug fixes:: Bug fixes::
@@ -244,7 +228,7 @@ New features::
* core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635) * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635)
* core: add different icons sizes (16x16 to 512x512) (issue #1347) * core: add different icons sizes (16x16 to 512x512) (issue #1347)
* core: add file weechat.desktop * core: add file weechat.desktop
* core: add reverse of string for screen in evaluation of expressions with "revscr:xxx" * core: add reverse of string for screen in evaluation of expressions with "revscr:"
* core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
* core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997) * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997)
* core: add optional default path (evaluated) in completion "filename" * core: add optional default path (evaluated) in completion "filename"
@@ -479,7 +463,7 @@ Build::
New features:: New features::
* core: change default value of option weechat.look.hotlist_add_conditions to check connected relay clients via weechat protocol (issue #1206) * core: change default value of option weechat.look.hotlist_add_conditions to check connected relay clients via weechat protocol (issue #1206)
* core: add reverse of string in evaluation of expressions with "rev:xxx" (issue #1200) * core: add reverse of string in evaluation of expressions with "rev:" (issue #1200)
* core: send buffer pointer (when possible) in signal "hotlist_changed" (issue #1133) * core: send buffer pointer (when possible) in signal "hotlist_changed" (issue #1133)
* core: add support of list options in curl (issue #826, issue #219) * core: add support of list options in curl (issue #826, issue #219)
* core: allow merge of buffers by name in command /buffer (issue #1108, issue #1159) * core: allow merge of buffers by name in command /buffer (issue #1108, issue #1159)
@@ -674,7 +658,7 @@ New features::
* core: add option weechat.completion.nick_case_sensitive (issue #981) * core: add option weechat.completion.nick_case_sensitive (issue #981)
* core: add wildcard matching operator (`+=*+` and `+!*+`) in evaluation of expressions (issue #611) * core: add wildcard matching operator (`+=*+` and `+!*+`) in evaluation of expressions (issue #611)
* core: add cut of string in evaluation of expressions with "cut:xxx" (number of chars) and "cutscr:xxx" (number of chars displayed on screen) * core: add cut of string in evaluation of expressions with "cut:" (number of chars) and "cutscr:" (number of chars displayed on screen)
* core: add ternary operator (condition) in evaluation of expressions (`${if:condition?value_if_true:value_if_false}`) * core: add ternary operator (condition) in evaluation of expressions (`${if:condition?value_if_true:value_if_false}`)
* core: add resize of window parents with /window resize [h/v]size (task #11461, issue #893) * core: add resize of window parents with /window resize [h/v]size (task #11461, issue #893)
* core: add hotlist pointer in buffer structure * core: add hotlist pointer in buffer structure
+1 -55
View File
@@ -18,43 +18,7 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
[[v3.1]] [[v3.1]]
== Version 3.1 (2021-03-07) == Version 3.1 (under dev)
[[v3.1_secure_data_passphrase_command]]
=== External program to read secured data passphrase
A new option `sec.crypt.passphrase_command` has been added to read the passphrase
from the output of an external program (like a password manager).
The option `sec.crypt.passphrase_file` has been removed, because the command
can now read a file as well. If you used a file to read the passphrase, you
must now setup the command like this:
----
/set sec.crypt.passphrase_command "cat ~/.weechat-passphrase"
----
For security reasons, it is of course highly recommended to use a password manager
or a program to decrypt a file with your passphrase rather than using a file with
the clear password. +
For example with password-store (command `pass`):
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
[[v3.1_window_splitv]]
=== Vertical split of windows
The vertical split of windows has been fixed (see issue #1612): now the new
window has the asked size, instead of the original window.
For example with this command the new window (on the right) has size 80% instead
of 20% in previous releases:
----
/window splitv 80
----
[[v3.1_command_buffer_listvar]] [[v3.1_command_buffer_listvar]]
=== List of buffer local variables === List of buffer local variables
@@ -68,24 +32,6 @@ It is deprecated and will be removed in a future release.
New options `setvar` and `delvar` were also added in command `/buffer`, New options `setvar` and `delvar` were also added in command `/buffer`,
see `/help buffer`. see `/help buffer`.
[[v3.1_buflist_option_use_items]]
=== Buflist option buflist.look.use_items
A new buflist option `buflist.look.use_items` has been added to speed up
display of buflist, in case you use a single buflist item (the most common use case).
If ever you use more than one item (item "buflist2" or even "buflist3"), you
must adjust the value of the new option, which defaults to 1:
----
/set buflist.look.use_items 2
----
[[v3.0.1]]
== Version 3.0.1 (2021-01-31)
Bug fix and maintenance release.
[[v3.0]] [[v3.0]]
== Version 3.0 (2020-11-11) == Version 3.0 (2020-11-11)
+1
View File
@@ -33,6 +33,7 @@ endif()
set(V8_INC_PATHS set(V8_INC_PATHS
/usr/include /usr/include
/usr/include/v8
${CMAKE_INCLUDE_PATH} ${CMAKE_INCLUDE_PATH}
) )
find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS}) find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS})
-14
View File
@@ -1,17 +1,3 @@
weechat (3.0.1-1) unstable; urgency=medium
* New upstream release
* Bump Standards-Version to 4.5.1
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 03 Mar 2021 05:30:44 +0000
weechat (3.0-1) unstable; urgency=medium
* New upstream release
* Build against Guile 3.0 (instead of 2.2) (Closes: #969680)
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 21 Nov 2020 07:34:12 +0000
weechat (2.9-1) unstable; urgency=medium weechat (2.9-1) unstable; urgency=medium
* New upstream release * New upstream release
@@ -20,8 +20,6 @@
| irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Channelname für den Server ist | Server,Channel (Server ist optional) | irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Channelname für den Server ist | Server,Channel (Server ist optional)
| irc | irc_is_message_ignored | 1, wenn der Nick ignoriert wird (Meldung wird nicht angezeigt) | Server,Nachricht (Nachricht ist die unverarbeitete IRC Nachricht)
| irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Server,Nickname (Server ist optional) | irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Server,Nickname (Server ist optional)
| irc | irc_nick | aktuellen Nicknamen für den Server erhalten | Servername | irc | irc_nick | aktuellen Nicknamen für den Server erhalten | Servername
@@ -14,7 +14,5 @@
| weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation | weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation
| weechat | secured_data | schutzwürdige Daten | - | schutzwürdige Daten: Namen und Werte (Vorsicht: Dies sind vertrauliche Daten: drucken oder protokollieren Sie diese NICHT)
|=== |===
// end::infos_hashtable[] // end::infos_hashtable[]
+20 -24
View File
@@ -1341,27 +1341,26 @@ Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrü
"50" > "100" ==> 1 "50" > "100" ==> 1
Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität: Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
1. die Zeichenfolge selbst ohne Auswertung (Format: "raw:xxx")\n 1. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
2. eine evaluierte Teilzeichenkette (Format: "eval:xxx") 2. eine evaluierte Bedingung (Format: "eval_cond:xxx")
3. eine evaluierte Bedingung (Format: "eval_cond:xxx") 3. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
4. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx") 4. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
5. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette") 5. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:+Max,Suffix,Zeichenkette")
6. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:+Max,Suffix,Zeichenkette")
oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:Max,Suffix,Zeichenkette oder "cutscr:+Max,Suffix,Zeichenkette") oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:Max,Suffix,Zeichenkette oder "cutscr:+Max,Suffix,Zeichenkette")
7. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx") 6. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
8. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette") 7. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
9. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx") 8. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
10. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color") 9. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
11. ein Modifizierer (Format: "info:Name,Argumente", Argumente sind optional) 10. ein Modifizierer (Format: "info:Name,Argumente", Argumente sind optional)
12. eine Info (Format: "Info:Name,Argumente", Argumente sind optional) 11. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
13. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx") 12. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
14. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format") 13. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
15. eine Umgebungsvariable (Format: "env:XXX") 14. eine Umgebungsvariable (Format: "env:XXX")
16. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr") 15. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
17. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx") 16. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
18. eine Option (Format: "file.section.option") 17. eine Option (Format: "file.section.option")
19. eine lokale Variable eines Buffers 18. eine lokale Variable eines Buffers
20. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet. 19. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine 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:
@@ -1372,7 +1371,6 @@ 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 ${raw:${info:version}} ==> ${info:version}
/eval -n ${eval_cond:${window.win_width}>100} ==> 1 /eval -n ${eval_cond:${window.win_width}>100} ==> 1
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
@@ -1873,7 +1871,7 @@ Tastenbefehle für den secure-Buffer:
alt+v Werte werden in Klartext angezeigt bzw. verborgen alt+v Werte werden in Klartext angezeigt bzw. verborgen
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab. Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
Setzt man die Umgebungsvariable "WEECHAT_PASSPHRASE", kann die Eingabeaufforderung der Passphrase beim Programmstart vermieden werden (diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch möglich mittels der Option sec.crypt.passphrase_command die Passphrase aus der Ausgabe eines externen Befehls, wie eines Passwort-Managers zu lesen (siehe /help sec.crypt.passphrase_command ) Setzt man die Umgebungsvariable "WEECHAT_PASSPHRASE", kann die Eingabeaufforderung der Passphrase beim Programmstart vermieden werden (diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch möglich in der Option sec.crypt.passphrase_file eine Datei anzugeben die die Passphrase beinhaltet (siehe /help sec.crypt.passphrase_file)
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden: schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
- Befehl /eval. - Befehl /eval.
@@ -1884,8 +1882,6 @@ schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt we
Beispiele: Beispiele:
festlegen eine Passphrase: festlegen eine Passphrase:
/secure passphrase Dies ist meine Passphrase /secure passphrase Dies ist meine Passphrase
nutze Programm "pass" um die Passphrase beim Start auszulesen:
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
verschlüsselt freenode SASL Passwort: verschlüsselt freenode SASL Passwort:
/secure set freenode meinPasswort /secure set freenode meinPasswort
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
+3 -21
View File
@@ -16,8 +16,8 @@
** Werte: sha224, sha256, sha384, sha512 ** Werte: sha224, sha256, sha384, sha512
** Standardwert: `+sha256+` ** Standardwert: `+sha256+`
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** Beschreibung: pass:none[Auslesen der Passphrase aus der Ausgabe des angegebenen Befehls (nur die erste Zeile wird verwendet und darf kein zusätzliches Zeichen enthalten); Diese Option wird nur verwendet, wenn die Datei sec.conf gelesen wird und wenn die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht festgelegt ist (die Umgebungsvariable hat eine höhere Priorität); Beispiel mit Passwortspeicher: "pass show weechat / passphrase"] ** Beschreibung: pass:none[Pfad zu einer Datei die die Passphrase enthält um damit schutzwürdige Daten zu ver- und entschlüsseln. Diese Einstellung findet nur Anwendung, wenn die Datei sec.conf gelesen wird. Es wird auch nur die erste Zeile eingelesen. Diese Datei wird nur verwendet, falls die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht genutzt wird (die Umgebungsvariable besitzt eine höhere Priorität). Sicherheitshinweis: Es ist anzuraten dieser Datei nur für die eigene Person Leserechte zu gewähren und die Datei nicht im Heimatverzeichnis von WeeChat zu sichern (zum Beispiel im /home/ Order); Beispiel: "~/.weechat-passphrase"]
** Typ: Zeichenkette ** Typ: Zeichenkette
** Werte: beliebige Zeichenkette ** Werte: beliebige Zeichenkette
** Standardwert: `+""+` ** Standardwert: `+""+`
@@ -846,12 +846,6 @@
** Werte: on, off ** Werte: on, off
** Standardwert: `+on+` ** Standardwert: `+on+`
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
** Beschreibung: pass:none[Aktualisiert die Hotlist, wenn der Buffer gewechselt wird]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+on+`
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll* * [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** Beschreibung: pass:none[Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird] ** Beschreibung: pass:none[Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird]
** Typ: integer ** Typ: integer
@@ -1146,12 +1140,6 @@
** Werte: beliebige Zeichenkette ** Werte: beliebige Zeichenkette
** Standardwert: `+"- "+` ** Standardwert: `+"- "+`
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
** Beschreibung: pass:none[Aktualisiert das Lesezeichen, wenn der Buffer gewechselt wird]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+on+`
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit* * [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
** Beschreibung: pass:none[die aktuelle Konfiguration wird beim Beenden automatisch gesichert] ** Beschreibung: pass:none[die aktuelle Konfiguration wird beim Beenden automatisch gesichert]
** Typ: boolesch ** Typ: boolesch
@@ -1781,12 +1769,6 @@
** Typ: Zeichenkette ** Typ: Zeichenkette
** Werte: beliebige Zeichenkette ** Werte: beliebige Zeichenkette
** Standardwert: `+"number,-active"+` ** Standardwert: `+"number,-active"+`
* [[option_buflist.look.use_items]] *buflist.look.use_items*
** Beschreibung: pass:none[Anzahl der Buflist-Bar-Items, die verwendet werden können; die Item-Namen sind: "buflist", "buflist2", "buflist3"; Seien Sie vorsichtig, wenn Sie mehr als ein Bar-Item verwenden, wird die Anzeige der Bufferliste verlangsamt]
** Typ: integer
** Werte: 1 .. 3
** Standardwert: `+1+`
// end::buflist_options[] // end::buflist_options[]
// tag::fifo_options[] // tag::fifo_options[]
@@ -2635,7 +2617,7 @@
** Standardwert: `+60+` ** Standardwert: `+60+`
* [[option_irc.server_default.default_chantypes]] *irc.server_default.default_chantypes* * [[option_irc.server_default.default_chantypes]] *irc.server_default.default_chantypes*
** Beschreibung: pass:none[Channel-Typ-Präfix, die verwendet werden sollen, wenn der Server diese nicht in Nachricht 005 sendet (Standard ist "#&")] ** Beschreibung: pass:none[channel type prefixes to use if the server does not send them in message 005 (default is "#&")]
** Typ: Zeichenkette ** Typ: Zeichenkette
** Werte: beliebige Zeichenkette ** Werte: beliebige Zeichenkette
** Standardwert: `+"#&"+` ** Standardwert: `+"#&"+`
+52 -85
View File
@@ -95,21 +95,39 @@ Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
[[dependencies]] [[dependencies]]
==== Abhängigkeiten ==== Abhängigkeiten
Die folgende Tabelle zeigt die Liste der Pakete, die zum Kompilieren von folgende Tabelle beschreibt, welche Pakete zwingend notwendig sind um WeeChat
WeeChat *erforderlich* sind: zu kompilieren und welche Pakete optional genutzt werden können.
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="6,^3,^3,.^13",options="header"]
|=== |===
| Paket ^(1)^ | Version | Funktion | Paket ^(1)^ | Version | benötigt | Funktion
| C compiler | C compiler
(gcc, clang, ...) | | zum Erstellen der Binärdatei. (gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
| cmake | ≥ 3.0 | zum kompilieren (autotools ist möglich. CMake wird aber empfohlen). | C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
| pkg-config | | entdeckt installierte Bibliotheken. | cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. CMake wird aber empfohlen).
| libncursesw5-dev ^(2)^ | | Ncurses Oberfläche. | pkg-config | | *ja* | entdeckt installierte Bibliotheken.
| libcurl4-gnutls-dev | | URL Transfer. | libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
| zlib1g-dev | | Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Script-Erweiterung übertragen werden. | libcurl4-gnutls-dev | | *ja* | URL Transfer.
| libgcrypt20-dev | | Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES). | zlib1g-dev | | *ja* | Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Script-Erweiterung übertragen werden.
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE). | libgcrypt20-dev | | *ja* | Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES).
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | *ja* | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE).
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch).
| ca-certificates | | | Zertifikate für SSL Verbindungen.
| libaspell-dev
∥ libenchant-dev | | | Spell Erweiterung.
| python3-dev | ^(4)^ | | Python Erweiterung.
| libperl-dev | | | Perl Erweiterung.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | | Ruby Erweiterung.
| liblua5.3-dev | | | Lua Erweiterung.
| tcl-dev | ≥ 8.5 | | Tcl Erweiterung.
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) Erweiterung.
| libv8-dev | ≤ 3.24.3 | | JavaScript Erweiterung.
| php-dev, libphp-embed | ≥ 7.0 | | PHP Erweiterung.
| libxml2-dev | | | PHP Erweiterung.
| libargon2-0-dev | | | PHP Erweiterung (wenn PHP ≥ 7.2).
| libsodium-dev | | | PHP Erweiterung (wenn PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | | zum Erstellen der man page und der Dokumentation.
| libcpputest-dev | ≥ 3.4 | | zum Erstellen und um Test auszuführen.
|=== |===
[NOTE] [NOTE]
@@ -120,36 +138,8 @@ entscheidend) zu kompilieren. Eine Kompilierung kann auch mit libncurses5-dev er
aber dies wird *NICHT* empfohlen: aber dies wird *NICHT* empfohlen:
Es können Darstellungsfehler mit breiten Zeichen auftreten. + Es können Darstellungsfehler mit breiten Zeichen auftreten. +
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels ^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
ECDSA-NIST256P-CHALLENGE durchzuführen. ECDSA-NIST256P-CHALLENGE durchzuführen. +
^(4)^ standardmäßig wird Python 3.x verwendet. Wird die Option `+ENABLE_PYTHON2+` aktiviert
Die folgende Tabelle zeigt die Liste der Pakete, die zum Kompilieren von
WeeChat optional sind:
[width="100%",cols="5,^3,.^15",options="header"]
|===
| Paket | Version | Funktion
| C++ compiler | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
| gettext | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch).
| ca-certificates | | Zertifikate für SSL Verbindungen.
| libaspell-dev
∥ libenchant-dev | | Spell Erweiterung.
| python3-dev ^(1)^ | | Python Erweiterung.
| libperl-dev | | Perl Erweiterung.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | Ruby Erweiterung.
| liblua5.3-dev | | Lua Erweiterung.
| tcl-dev | ≥ 8.5 | Tcl Erweiterung.
| guile-2.0-dev | ≥ 2.0 | Guile (scheme) Erweiterung.
| libv8-dev | ≤ 3.24.3 | JavaScript Erweiterung.
| php-dev, libphp-embed | ≥ 7.0 | PHP Erweiterung.
| libxml2-dev | | PHP Erweiterung.
| libargon2-0-dev | | PHP Erweiterung (wenn PHP ≥ 7.2).
| libsodium-dev | | PHP Erweiterung (wenn PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | zum Erstellen der man page und der Dokumentation.
| libcpputest-dev | ≥ 3.4 | zum Erstellen und um Test auszuführen.
|===
[NOTE]
^(1)^ standardmäßig wird Python 3.x verwendet. Wird die Option `+ENABLE_PYTHON2+` aktiviert
(siehe unten), sollte die Version 2.7 von Python genutzt werden. (siehe unten), sollte die Version 2.7 von Python genutzt werden.
Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen
@@ -693,7 +683,7 @@ Der Bildschirm setzt sich aus folgenden Bereichen zusammen:
Die _buflist_-Bar besitzt als Standardeinträge: Die _buflist_-Bar besitzt als Standardeinträge:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Beispiel | Beschreibung | Item | Beispiel | Beschreibung
| buflist | `1.weechat` | Auflistung der Buffer. | buflist | `1.weechat` | Auflistung der Buffer.
@@ -701,7 +691,7 @@ Die _buflist_-Bar besitzt als Standardeinträge:
Die _title_-Bar besitzt als Standardeinträge: Die _title_-Bar besitzt als Standardeinträge:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Beispiel | Beschreibung | Item | Beispiel | Beschreibung
| buffer_title | `Willkommen in #test` | Buffer-Titel. | buffer_title | `Willkommen in #test` | Buffer-Titel.
@@ -709,7 +699,7 @@ Die _title_-Bar besitzt als Standardeinträge:
Die _status_-Bar besitzt als Standardeinträge: Die _status_-Bar besitzt als Standardeinträge:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Beispiel | Beschreibung | Item | Beispiel | Beschreibung
| time | `[12:55]` | Uhrzeit. | time | `[12:55]` | Uhrzeit.
@@ -729,7 +719,7 @@ Die _status_-Bar besitzt als Standardeinträge:
In der _input_ Bar lautet die Standardeinstellung: In der _input_ Bar lautet die Standardeinstellung:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Beispiel | Beschreibung | Item | Beispiel | Beschreibung
| input_prompt | `[@Flashy(i)]` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf freenode, unsichtbar). | input_prompt | `[@Flashy(i)]` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf freenode, unsichtbar).
@@ -741,35 +731,25 @@ In der _input_ Bar lautet die Standardeinstellung:
In der _nicklist_ Bar lautet die Standardeinstellung: In der _nicklist_ Bar lautet die Standardeinstellung:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Beispiel | Beschreibung | Item | Beispiel | Beschreibung
| buffer_nicklist | `@Flashy` | Liste der Nicks für den aktuellen Buffer. | buffer_nicklist | `@Flashy` | Liste der Nicks für den aktuellen Buffer.
|=== |===
andere Items die zur Verfügung stehen (die aber nicht standardmäßig in einer Bar aktiviert sind): andere Items die man nutzen kann (die aber nicht standardmäßig in einer Bar aktiviert sind):
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Beispiel | Beschreibung | Item | Beispiel | Beschreibung
| buffer_count | `10` | absolute Anzahl an geöffneten Buffern. | spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
| buffer_last_number | `10` | Nummer des letzten Buffers (kann sich unterscheiden von `buffer_count` wenn Option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> deaktiviert (`off`) ist). | spell_suggest | `Glück,Glocke,Block`| Vorschläge für ein falsch geschriebenes Wort.
| buffer_nicklist_count_all | `4` | Anzahl der sichtbaren Gruppen und Nicks in der Nickliste. | buffer_count | `10` | absolute Anzahl an geöffneten Buffern.
| buffer_nicklist_count_groups | `0` | Anzahl der sichtbaren Gruppen in der Nickliste. | buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers. | irc_channel | `#test` | aktueller IRC Channelname.
| buflist2 | `1.weechat` | List der Buffer, zweites Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>). | irc_nick_modes | `@` | IRC Modi für den eigenen Nick.
| buflist3 | `1.weechat` | List der Buffer, drittes Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>). | mouse_status | `M` | Status der Maus (keine Anzeige, falls Maus deaktiviert).
| fset | `+buflist.look.sort: …+` | Hilfstext zur aktuell ausgewählten Option im Fset-Buffer. | window_number | `2` | Nummer des aktuellen Fensters.
| irc_channel | `#test` | aktueller IRC Channelname.
| irc_host | `+user@host.com+` | aktueller IRC Host.
| irc_nick | `+Flashy+` | aktueller IRC Nick.
| irc_nick_host | `+Flashy!user@host.com+` | aktueller IRC Nick und Host.
| irc_nick_modes | `i` | IRC Modi für den eigenen Nick.
| irc_nick_prefix | `@` | IRC Nick-Präfix für den Channel.
| mouse_status | `M` | Status der Maus (keine Anzeige, falls Maus deaktiviert).
| spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
| spell_suggest | `Glück,Glocke,Block` | Vorschläge für ein falsch geschriebenes Wort.
| window_number | `2` | Nummer des aktuellen Fensters.
|=== |===
[[command_line]] [[command_line]]
@@ -2257,24 +2237,11 @@ da ansonsten die Daten in Klartext gesichert werden.
/secure passphrase Dies ist meine Passphrase /secure passphrase Dies ist meine Passphrase
---- ----
===== Passphrase beim Programmstart Wenn eine Passphrase genutzt wird fragt WeeChat diese beim Programmstart
ab (bei einem `/upgrade` ist dies nicht der Fall).
Wenn eine Passphrase festgelegt ist, werden Sie von WeeChat aufgefordert, diese beim Start einzugeben Die Passphrase kann auch in einer Datei gesichert werden (siehe Option
(aber nicht bei `/upgrade`). <<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>>).
Wenn Sie einen Passwortmanager verwenden, können Sie ein externes Programm ausführen, um die Passphrase zu lesen,
anstatt sie beim Start von WeeChat manuell eingeben zu müssen. Zum Beispiel mit Passwortspeicher (Befehl `pass`):
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
Das Programm fordert Sie möglicherweise auf, Ihren GPG-Schlüssel zu entsperren oder eine andere Passphrase
einzugeben, um das Passwort lesen zu können. WeeChat wartet auf das Ende des Befehls, um die Passphrase in
der Standardausgabe auszuwerten (die Passphrase muss in der ersten Zeile, ohne zusätzliches Zeichen, stehen). +
Wenn die Ausgabe keine Passphrase enthält oder falsch ist, werden Sie von WeeChat aufgefordert,
diese manuell einzugeben.
[[secured_data_encryption]] [[secured_data_encryption]]
===== Verschlüsselung ===== Verschlüsselung
+2 -2
View File
@@ -674,7 +674,7 @@ class AutogenDoc():
for info in sorted(infos[plugin]): for info in sorted(infos[plugin]):
_inf = infos[plugin][info] _inf = infos[plugin][info]
desc = translate(_inf['description']) desc = translate(_inf['description'])
args_desc = translate(_inf['args_description']) or '-' args_desc = translate(_inf['args_description'] or '-')
self.write('| %s | %s | %s | %s\n', self.write('| %s | %s | %s | %s\n',
escape(plugin), escape(info), escape(desc), escape(plugin), escape(info), escape(desc),
escape(args_desc)) escape(args_desc))
@@ -694,7 +694,7 @@ class AutogenDoc():
for info in sorted(infos_hashtable[plugin]): for info in sorted(infos_hashtable[plugin]):
_inh = infos_hashtable[plugin][info] _inh = infos_hashtable[plugin][info]
desc = translate(_inh['description']) desc = translate(_inh['description'])
args_desc = translate(_inh['args_description']) or '-' args_desc = translate(_inh['args_description'])
output_desc = translate(_inh['output_description']) or '-' output_desc = translate(_inh['output_description']) or '-'
self.write('| %s | %s | %s | %s | %s\n', self.write('| %s | %s | %s | %s | %s\n',
escape(plugin), escape(info), escape(desc), escape(plugin), escape(info), escape(desc),
@@ -20,8 +20,6 @@
| irc | irc_is_channel | 1 if string is a valid IRC channel name for server | server,channel (server is optional) | irc | irc_is_channel | 1 if string is a valid IRC channel name for server | server,channel (server is optional)
| irc | irc_is_message_ignored | 1 if the nick is ignored (message is not displayed) | server,message (message is the raw IRC message)
| irc | irc_is_nick | 1 if string is a valid IRC nick name | server,nickname (server is optional) | irc | irc_is_nick | 1 if string is a valid IRC nick name | server,nickname (server is optional)
| irc | irc_nick | get current nick on a server | server name | irc | irc_nick | get current nick on a server | server name
@@ -14,7 +14,5 @@
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference | weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
|=== |===
// end::infos_hashtable[] // end::infos_hashtable[]
+20 -24
View File
@@ -1341,27 +1341,26 @@ To force a string comparison, you can add double quotes around each expression,
"50" > "100" ==> 1 "50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority: Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
1. the string itself without evaluation (format: "raw:xxx") 1. an evaluated sub-string (format: "eval:xxx")
2. an evaluated sub-string (format: "eval:xxx") 2. an evaluated condition (format: "eval_cond:xxx")
3. an evaluated condition (format: "eval_cond:xxx") 3. a string with escaped chars (format: "esc:xxx" or "\xxx")
4. a string with escaped chars (format: "esc:xxx" or "\xxx") 4. a string with chars to hide (format: "hide:char,string")
5. a string with chars to hide (format: "hide:char,string") 5. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
6. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string") or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
7. a reversed string (format: "rev:xxx" or "revscr:xxx") 6. a reversed string (format: "rev:xxx" or "revscr:xxx")
8. a repeated string (format: "repeat:count,string") 7. a repeated string (format: "repeat:count,string")
9. length of a string (format: "length:xxx" or "lengthscr:xxx") 8. length of a string (format: "length:xxx" or "lengthscr:xxx")
10. a color (format: "color:xxx", see "Plugin API reference", function "color") 9. a color (format: "color:xxx", see "Plugin API reference", function "color")
11. a modifier (format: "modifier:name,data,string") 10. a modifier (format: "modifier:name,data,string")
12. an info (format: "info:name,arguments", arguments are optional) 11. an info (format: "info:name,arguments", arguments are optional)
13. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx") 12. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
14. current date/time (format: "date" or "date:format") 13. current date/time (format: "date" or "date:format")
15. an environment variable (format: "env:XXX") 14. an environment variable (format: "env:XXX")
16. a ternary operator (format: "if:condition?value_if_true:value_if_false") 15. a ternary operator (format: "if:condition?value_if_true:value_if_false")
17. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx") 16. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
18. an option (format: "file.section.option") 17. an option (format: "file.section.option")
19. a local variable in buffer 18. a local variable in buffer
20. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 19. 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:
@@ -1372,7 +1371,6 @@ Format for hdata can be one of following:
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings): Examples (simple strings):
/eval -n ${raw:${info:version}} ==> ${info:version}
/eval -n ${eval_cond:${window.win_width}>100} ==> 1 /eval -n ${eval_cond:${window.win_width}>100} ==> 1
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
@@ -1873,7 +1871,7 @@ Keys on secure buffer:
alt+v toggle values alt+v toggle values
When a passphrase is used (data encrypted), it is asked by WeeChat on startup. When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_command to read the passphrase from the output of an external command like a password manager (see /help sec.crypt.passphrase_command). It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_file to read the passphrase from a file (see /help sec.crypt.passphrase_file).
Secured data with format ${sec.data.xxx} can be used in: Secured data with format ${sec.data.xxx} can be used in:
- command /eval - command /eval
@@ -1884,8 +1882,6 @@ Secured data with format ${sec.data.xxx} can be used in:
Examples: Examples:
set a passphrase: set a passphrase:
/secure passphrase this is my passphrase /secure passphrase this is my passphrase
use program "pass" to read the passphrase on startup:
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
encrypt freenode SASL password: encrypt freenode SASL password:
/secure set freenode mypassword /secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
+2 -20
View File
@@ -16,8 +16,8 @@
** values: sha224, sha256, sha384, sha512 ** values: sha224, sha256, sha384, sha512
** default value: `+sha256+` ** default value: `+sha256+`
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** description: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "pass show weechat/passphrase"] ** description: pass:none[path to a file containing the passphrase to encrypt/decrypt secured data; this option is used only when reading file sec.conf; only first line of file is used; this file is used only if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); security note: it is recommended to keep this file readable only by you and store it outside WeeChat home (for example in your home); example: "~/.weechat-passphrase"]
** type: string ** type: string
** values: any string ** values: any string
** default value: `+""+` ** default value: `+""+`
@@ -846,12 +846,6 @@
** values: on, off ** values: on, off
** default value: `+on+` ** default value: `+on+`
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
** description: pass:none[update the hotlist when switching buffers]
** type: boolean
** values: on, off
** default value: `+on+`
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll* * [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** description: pass:none[number of chars displayed after end of input line when scrolling to display end of line] ** description: pass:none[number of chars displayed after end of input line when scrolling to display end of line]
** type: integer ** type: integer
@@ -1146,12 +1140,6 @@
** values: any string ** values: any string
** default value: `+"- "+` ** default value: `+"- "+`
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
** description: pass:none[update the read marker when switching buffers]
** type: boolean
** values: on, off
** default value: `+on+`
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit* * [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
** description: pass:none[save configuration file on exit] ** description: pass:none[save configuration file on exit]
** type: boolean ** type: boolean
@@ -1781,12 +1769,6 @@
** type: string ** type: string
** values: any string ** values: any string
** default value: `+"number,-active"+` ** default value: `+"number,-active"+`
* [[option_buflist.look.use_items]] *buflist.look.use_items*
** description: pass:none[number of buflist bar items that can be used; the item names are: "buflist", "buflist2", "buflist3"; be careful, using more than one bar item slows down the display of buffers list]
** type: integer
** values: 1 .. 3
** default value: `+1+`
// end::buflist_options[] // end::buflist_options[]
// tag::fifo_options[] // tag::fifo_options[]
+15 -6
View File
@@ -1090,12 +1090,18 @@ Any patch for bug or new feature must be done on master branch, preferred way
is a GitHub pull request. A patch can also be sent by e-mail is a GitHub pull request. A patch can also be sent by e-mail
(made with `git diff` or `git format-patch`). (made with `git diff` or `git format-patch`).
Format of commit message is the following (with automatic close of a GitHub issue): Format of commit message is the following (to close a GitHub issue):
---- ----
component: fix a problem (closes #123) component: fix a problem (closes #123)
---- ----
For a Savannah bug:
----
component: fix a problem (bug #12345)
----
Where _component_ is one of following: Where _component_ is one of following:
* WeeChat core: _core_ (files in root directory, _po/_ and _src/_, * WeeChat core: _core_ (files in root directory, _po/_ and _src/_,
@@ -1108,17 +1114,20 @@ Some rules to follow:
* Use only English. * Use only English.
* Use infinitive form of verb. * Use infinitive form of verb.
* If commit is related to a GitHub issue, write it in parenthesis after * If commit is related to something in tracker, write it in parenthesis after
the message, with this format: `(issue #123)` or `(closes #123)` to close it. the message, with this format:
** GitHub: closes #123
** Savannah: bug #12345, task #12345, patch #12345
Examples of commit messages: Examples of commit messages:
---- ----
core: add callback "nickcmp" for nick comparison in buffers
core: update Japanese translations
irc: add command /unquiet (closes #36) irc: add command /unquiet (closes #36)
python: fix crash when unloading a script without pointer to interpreter core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in CMake ruby: add detection of ruby version 1.9.3 in CMake
python: fix crash when unloading a script without pointer to interpreter
core: update Japanese translations (patch #7783)
---- ----
[[translations]] [[translations]]
-6
View File
@@ -2524,12 +2524,6 @@ expanded to last):
|=== |===
| Format | Description | Examples | Results | Format | Description | Examples | Results
| `+${raw:xxx}+` +
_(WeeChat ≥ 3.1)_ |
Raw string (not evaluated). |
`+${raw:${info:version}}+` |
`+${info:version}+`
| `+${name}+` | | `+${name}+` |
Variable `name` from hashtable _extra_vars_. | Variable `name` from hashtable _extra_vars_. |
`+${name}+` | `+${name}+` |
+51 -85
View File
@@ -89,21 +89,39 @@ On macOS, you can use https://brew.sh/[Homebrew]:
[[dependencies]] [[dependencies]]
==== Dependencies ==== Dependencies
The following table shows the list of packages that are *required* to compile Following table shows list of packages that are required or optional to
WeeChat: compile WeeChat.
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="6,^3,^3,.^13",options="header"]
|=== |===
| Package ^(1)^ | Version | Feature | Package ^(1)^ | Version | Required | Feature
| C compiler | C compiler
(gcc, clang, ...) | | Build. (gcc, clang, ...) | | *yes* | Build.
| cmake | ≥ 3.0 | Build (autotools still possible, but CMake is recommended). | C++ compiler | | | Build and run tests, JavaScript plugin.
| pkg-config | | Detect installed libraries. | cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but CMake is recommended).
| libncursesw5-dev ^(2)^ | | Ncurses interface. | pkg-config | | *yes* | Detect installed libraries.
| libcurl4-gnutls-dev | | URL transfer. | libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
| zlib1g-dev | | Compression of packets in relay plugin (weechat protocol), script plugin. | libcurl4-gnutls-dev | | *yes* | URL transfer.
| libgcrypt20-dev | | Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES). | zlib1g-dev | | *yes* | Compression of packets in relay plugin (weechat protocol), script plugin.
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | SSL connection to IRC server, support of SSL in relay plugin, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). | libgcrypt20-dev | | *yes* | Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES).
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | *yes* | SSL connection to IRC server, support of SSL in relay plugin, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE).
| gettext | | | Internationalization (translation of messages; base language is English).
| ca-certificates | | | Certificates for SSL connections.
| libaspell-dev
∥ libenchant-dev | | | Spell plugin.
| python3-dev | ^(4)^ | | Python plugin.
| libperl-dev | | | Perl plugin.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | | Ruby plugin.
| liblua5.3-dev | | | Lua plugin.
| tcl-dev | ≥ 8.5 | | Tcl plugin.
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) plugin.
| libv8-dev | ≤ 3.24.3 | | JavaScript plugin.
| php-dev, libphp-embed | ≥ 7.0 | | PHP plugin.
| libxml2-dev | | | PHP plugin.
| libargon2-0-dev | | | PHP plugin (if PHP ≥ 7.2).
| libsodium-dev | | | PHP plugin (if PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | | Build man page and documentation.
| libcpputest-dev | ≥ 3.4 | | Build and run tests.
|=== |===
[NOTE] [NOTE]
@@ -113,36 +131,8 @@ names may be different in different distributions and versions. +
important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommended: important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommended:
you may experience display bugs with wide chars. + you may experience display bugs with wide chars. +
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism ^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
ECDSA-NIST256P-CHALLENGE. ECDSA-NIST256P-CHALLENGE. +
^(4)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+`
The following table shows the list of packages that are optional to compile
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
| Package | Version | Feature
| C++ compiler | | Build and run tests, JavaScript plugin.
| gettext | | Internationalization (translation of messages; base language is English).
| ca-certificates | | Certificates for SSL connections.
| libaspell-dev
∥ libenchant-dev | | Spell plugin.
| python3-dev ^(1)^ | | Python plugin.
| libperl-dev | | Perl plugin.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | Ruby plugin.
| liblua5.3-dev | | Lua plugin.
| tcl-dev | ≥ 8.5 | Tcl plugin.
| guile-2.0-dev | ≥ 2.0 | Guile (scheme) plugin.
| libv8-dev | ≤ 3.24.3 | JavaScript plugin.
| php-dev, libphp-embed | ≥ 7.0 | PHP plugin.
| libxml2-dev | | PHP plugin.
| libargon2-0-dev | | PHP plugin (if PHP ≥ 7.2).
| libsodium-dev | | PHP plugin (if PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | Build man page and documentation.
| libcpputest-dev | ≥ 3.4 | Build and run tests.
|===
[NOTE]
^(1)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+`
(see below), only the version 2.7 of Python is recommended. (see below), only the version 2.7 of Python is recommended.
If you are using a Debian/Ubuntu based distribution, and if you have some If you are using a Debian/Ubuntu based distribution, and if you have some
@@ -687,7 +677,7 @@ The screen is divided up into the following areas:
Bar _buflist_ has following default items: Bar _buflist_ has following default items:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| buflist | `1.weechat` | List of buffers. | buflist | `1.weechat` | List of buffers.
@@ -695,7 +685,7 @@ Bar _buflist_ has following default items:
Bar _title_ has following default items: Bar _title_ has following default items:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| buffer_title | `Welcome to #test` | Buffer title. | buffer_title | `Welcome to #test` | Buffer title.
@@ -703,7 +693,7 @@ Bar _title_ has following default items:
Bar _status_ has following default items: Bar _status_ has following default items:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| time | `[12:55]` | Time. | time | `[12:55]` | Time.
@@ -723,7 +713,7 @@ Bar _status_ has following default items:
Bar _input_ has following default items: Bar _input_ has following default items:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| input_prompt | `[@Flashy(i)]` | Input prompt, for irc: nick and modes (mode "+i" means invisible on freenode). | input_prompt | `[@Flashy(i)]` | Input prompt, for irc: nick and modes (mode "+i" means invisible on freenode).
@@ -735,7 +725,7 @@ Bar _input_ has following default items:
Bar _nicklist_ has following default items: Bar _nicklist_ has following default items:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| buffer_nicklist | `@Flashy` | List of nicks on current buffer. | buffer_nicklist | `@Flashy` | List of nicks on current buffer.
@@ -743,27 +733,17 @@ Bar _nicklist_ has following default items:
Other items available (not used in bars by default): Other items available (not used in bars by default):
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| buffer_count | `10` | Total number of buffers opened. | spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`). | spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist. | buffer_count | `10` | Total number of buffers opened.
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist. | buffer_short_name | `#test` | Current buffer short name.
| buffer_short_name | `#test` | Current buffer short name. | irc_channel | `#test` | Current IRC channel name.
| buflist2 | `1.weechat` | List of buffers, second bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>). | irc_nick_modes | `@` | IRC modes for self nick.
| buflist3 | `1.weechat` | List of buffers, third bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>). | mouse_status | `M` | Mouse status (empty if mouse is disabled).
| fset | `+buflist.look.sort: …+` | Help on currently selected option on fset buffer. | window_number | `2` | Current window number.
| irc_channel | `#test` | Current IRC channel name.
| irc_host | `+user@host.com+` | Current IRC host.
| irc_nick | `+Flashy+` | Current IRC nick.
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
| irc_nick_modes | `i` | IRC modes for self nick.
| irc_nick_prefix | `@` | IRC nick prefix on channel.
| mouse_status | `M` | Mouse status (empty if mouse is disabled).
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| window_number | `2` | Current window number.
|=== |===
[[command_line]] [[command_line]]
@@ -2219,25 +2199,11 @@ but highly recommended, otherwise data is stored as plain text in file.
/secure passphrase this is my passphrase /secure passphrase this is my passphrase
---- ----
===== Passphrase on startup When a passphrase is set, WeeChat will ask you to enter it on startup (but not
on `/upgrade`).
When a passphrase is set, WeeChat will ask you to enter it on startup You can change this behavior and use a file with the passphrase (see option
(but not on `/upgrade`). <<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>>).
If you are using a password manager, you can run an external program to read
the passphrase instead of having to type it manually on WeeChat startup. +
For example with password-store (command `pass`):
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
The program may ask you unlock your GPG key or enter another passphrase to
read the secret. WeeChat will wait for the end of the command to read the
passphrase on the standard output (it must be on the first line without any
extra character). +
If the output contains no passphrase or if it is wrong, WeeChat will then ask
you to enter it.
[[secured_data_encryption]] [[secured_data_encryption]]
===== Encryption ===== Encryption
@@ -20,8 +20,6 @@
| irc | irc_is_channel | 1 si la chaîne est un nom de canal IRC valide pour le serveur | serveur,canal (le serveur est optionnel) | irc | irc_is_channel | 1 si la chaîne est un nom de canal IRC valide pour le serveur | serveur,canal (le serveur est optionnel)
| irc | irc_is_message_ignored | 1 si le pseudo est ignoré (le message n'est pas affiché) | serveur,message (message est le message brut IRC)
| irc | irc_is_nick | 1 si la chaîne est un pseudo IRC valide | serveur,pseudo (le serveur est optionnel) | irc | irc_is_nick | 1 si la chaîne est un pseudo IRC valide | serveur,pseudo (le serveur est optionnel)
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur | nom de serveur | irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur | nom de serveur
@@ -14,7 +14,5 @@
| weechat | focus_info | obtenir l'information de focus | "x" : coordonnée x (chaîne avec un entier >= 0), "y" : coordonnée y (chaîne avec un entier >= 0) | voir la fonction hook_focus dans la Référence API extension | weechat | focus_info | obtenir l'information de focus | "x" : coordonnée x (chaîne avec un entier >= 0), "y" : coordonnée y (chaîne avec un entier >= 0) | voir la fonction hook_focus dans la Référence API extension
| weechat | secured_data | données sécurisées | - | données sécurisées : noms et valeurs (attention : les valeurs sont des données sensibles : il ne faut PAS les afficher/logger)
|=== |===
// end::infos_hashtable[] // end::infos_hashtable[]
+20 -24
View File
@@ -1341,27 +1341,26 @@ Pour forcer une comparaison de chaînes, vous pouvez ajouter des guillemets auto
"50" > "100" ==> 1 "50" > "100" ==> 1
Des variables sont remplacées dans l'expression, en utilisant le format ${variable}, la variable pouvant être, par ordre de priorité : Des variables sont remplacées dans l'expression, en utilisant le format ${variable}, la variable pouvant être, par ordre de priorité :
1. la chaîne elle-même sans évaluation (format : "raw:xxx") 1. une sous-chaîne évaluée (format : "eval:xxx")
2. une sous-chaîne évaluée (format : "eval:xxx") 2. une condition évaluée (format : "eval_cond:xxx")
3. une condition évaluée (format : "eval_cond:xxx") 3. une chaîne avec les caractères échappés (format : "esc:xxx" ou "\xxx")
4. une chaîne avec les caractères échappés (format : "esc:xxx" ou "\xxx") 4. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
5. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne") 5. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne" ou "cut:+max,suffixe,chaîne")
6. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne" ou "cut:+max,suffixe,chaîne")
ou un maximum de caractères affichés à l'écran (format : "cutscr:max,suffixe,chaîne" ou "cutscr:+max,suffixe,chaîne") ou un maximum de caractères affichés à l'écran (format : "cutscr:max,suffixe,chaîne" ou "cutscr:+max,suffixe,chaîne")
7. une chaîne inversée (format : "rev:xxx" ou "revscr:xxx") 6. une chaîne inversée (format : "rev:xxx" ou "revscr:xxx")
8. une chaîne répétée (format : "repeat:nombre,chaîne") 7. une chaîne répétée (format : "repeat:nombre,chaîne")
9. longueur d'une chaîne (format : "length:xxx" ou "lengthscr:xxx") 8. longueur d'une chaîne (format : "length:xxx" ou "lengthscr:xxx")
10. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color") 9. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color")
11. un modificateur (format : "modifier:nom,données,chaîne") 10. un modificateur (format : "modifier:nom,données,chaîne")
12. une info (format : "info:nom,paramètres", les paramètres sont optionnels) 11. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
13. une chaîne encodée/decodée en base 16, 32 ou 64 (format : "base_encode:base,xxx" ou "base_decode:base,xxx") 12. une chaîne encodée/decodée en base 16, 32 ou 64 (format : "base_encode:base,xxx" ou "base_decode:base,xxx")
14. la date/heure courante (format : "date" ou "date:format") 13. la date/heure courante (format : "date" ou "date:format")
15. une variable d'environnement (format : "env:XXX") 14. une variable d'environnement (format : "env:XXX")
16. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux") 15. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
17. le résultat d'une expression avec parenthèses et les opérateurs + - * / // % ** (format: "calc:xxx") 16. le résultat d'une expression avec parenthèses et les opérateurs + - * / // % ** (format: "calc:xxx")
18. une option (format : "fichier.section.option") 17. une option (format : "fichier.section.option")
19. une variable locale du tampon 18. une variable locale du tampon
20. 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. 19. 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[liste].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple : hdata[liste].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple :
@@ -1372,7 +1371,6 @@ Le format du hdata peut être le suivant :
Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get". Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get".
Exemples (chaînes simples) : Exemples (chaînes simples) :
/eval -n ${raw:${info:version}} ==> ${info:version}
/eval -n ${eval_cond:${window.win_width}>100} ==> 1 /eval -n ${eval_cond:${window.win_width}>100} ==> 1
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
@@ -1873,7 +1871,7 @@ Les touches sur le tampon des données sécurisées :
alt+v afficher/cacher les valeurs alt+v afficher/cacher les valeurs
Lorsqu'une phrase de chiffrement est utilisée (données chiffrées), elle est demandée au démarrage de WeeChat. Lorsqu'une phrase de chiffrement est utilisée (données chiffrées), elle est demandée au démarrage de WeeChat.
Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE pour éviter la demande (cette même variable est utilisée par WeeChat sur le /upgrade) ou de définir l'option sec.crypt.passphrase_command pour lire la phrase de chiffrement depuis la sortie d'une commande externe comme un coffre-fort à mots de passe (voir /help sec.crypt.passphrase_command). Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE pour éviter la demande (cette même variable est utilisée par WeeChat sur le /upgrade) ou de définir l'option sec.crypt.passphrase_file pour lire la phrase de chiffrement depuis un fichier (voir /help sec.crypt.passphrase_file).
Les données sécurisées avec le format ${sec.data.xxx} peuvent être utilisées dans : Les données sécurisées avec le format ${sec.data.xxx} peuvent être utilisées dans :
- la commande /eval - la commande /eval
@@ -1884,8 +1882,6 @@ Les données sécurisées avec le format ${sec.data.xxx} peuvent être utilisée
Exemples : Exemples :
définir une phrase de chiffrement : définir une phrase de chiffrement :
/secure passphrase ceci est ma phrase de chiffrement /secure passphrase ceci est ma phrase de chiffrement
utiliser le programme "pass" pour lire la phrase de chiffrement au démarrage :
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
chiffrer le mot de passe freenode SASL : chiffrer le mot de passe freenode SASL :
/secure set freenode motdepasse /secure set freenode motdepasse
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
+2 -20
View File
@@ -16,8 +16,8 @@
** valeurs: sha224, sha256, sha384, sha512 ** valeurs: sha224, sha256, sha384, sha512
** valeur par défaut: `+sha256+` ** valeur par défaut: `+sha256+`
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** description: pass:none[lire la phrase de chiffrement depuis la sortie de cette commande système (seule la première ligne est utilisée et elle ne doit contenir aucun autre caractère) ; cette option est utilisée seulement pour lire le fichier sec.conf et si la variable d'environnement "WEECHAT_PASSPHRASE" n'est pas définie (la variable d'environnement a une priorité plus haute) ; exemple avec password-store : "pass show weechat/passphrase"] ** description: pass:none[chemin vers un fichier contenant la phrase de chiffrement pour (dé)chiffrer les données sécurisées ; cette option est utilisée seulement lors de la lecture du fichier sec.conf ; seulement la première ligne du fichier est utilisée ; ce fichier est utilisé seulement si la variable d'environnement "WEECHAT_PASSPHRASE" n'est pas définie (la variable d'environnement a une priorité plus haute) ; note de sécurité : il est recommandé de garder ce fichier en lecture seulement par vous et de le stocker en dehors du "home" WeeChat (par exemple dans votre "home") ; exemple : "~/.weechat-passphrase"]
** type: chaîne ** type: chaîne
** valeurs: toute chaîne ** valeurs: toute chaîne
** valeur par défaut: `+""+` ** valeur par défaut: `+""+`
@@ -846,12 +846,6 @@
** valeurs: on, off ** valeurs: on, off
** valeur par défaut: `+on+` ** valeur par défaut: `+on+`
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
** description: pass:none[mettre à jour la hotlist lors du changement de tampon]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+on+`
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll* * [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** description: pass:none[nombre de caractères affichés après la fin de la ligne de saisie lors d'un défilement pour afficher la fin de la ligne] ** description: pass:none[nombre de caractères affichés après la fin de la ligne de saisie lors d'un défilement pour afficher la fin de la ligne]
** type: entier ** type: entier
@@ -1146,12 +1140,6 @@
** valeurs: toute chaîne ** valeurs: toute chaîne
** valeur par défaut: `+"- "+` ** valeur par défaut: `+"- "+`
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
** description: pass:none[mettre à jour le marqueur de données non lues lors du changement de tampon]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+on+`
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit* * [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
** description: pass:none[sauvegarder la configuration en quittant] ** description: pass:none[sauvegarder la configuration en quittant]
** type: booléen ** type: booléen
@@ -1781,12 +1769,6 @@
** type: chaîne ** type: chaîne
** valeurs: toute chaîne ** valeurs: toute chaîne
** valeur par défaut: `+"number,-active"+` ** valeur par défaut: `+"number,-active"+`
* [[option_buflist.look.use_items]] *buflist.look.use_items*
** description: pass:none[nombre d'objets de barre buflist qui peuvent être utilisés ; les objets de barre sont : "buflist", "buflist2", "buflist3" ; attention, utiliser plus d'un objet de barre ralentit l'affichage de la liste des tampons]
** type: entier
** valeurs: 1 .. 3
** valeur par défaut: `+1+`
// end::buflist_options[] // end::buflist_options[]
// tag::fifo_options[] // tag::fifo_options[]
+15 -7
View File
@@ -1108,13 +1108,18 @@ Tout patch pour un bug ou une nouvelle fonctionnalité doit être effectué sur
branche master, le format préféré étant une "pull request" sur GitHub. Un patch branche master, le format préféré étant une "pull request" sur GitHub. Un patch
peut aussi être envoyé par e-mail (fait avec `git diff` ou `git format-patch`). peut aussi être envoyé par e-mail (fait avec `git diff` ou `git format-patch`).
Le format du message de commit est le suivant (avec fermeture automatique Le format du message de commit est le suivant (pour fermer un bug GitHub) :
du bug GitHub) :
---- ----
component: fix a problem (closes #123) component: fix a problem (closes #123)
---- ----
Pour un bug Savannah :
----
component: fix a problem (bug #12345)
----
Où _component_ est : Où _component_ est :
* pour le cœur WeeChat : _core_ (les fichiers dans le répertoire racine, _po/_ * pour le cœur WeeChat : _core_ (les fichiers dans le répertoire racine, _po/_
@@ -1127,17 +1132,20 @@ Quelques règles à suivre :
* Utilisez seulement l'anglais. * Utilisez seulement l'anglais.
* Utilisez des verbes à l'infinitif. * Utilisez des verbes à l'infinitif.
* Si le commit est relatif à un bug GitHub, écrivez-le entre parenthèses après * Si le commit est relatif au tracker, écrivez-le entre parenthèses après le
le message, avec ce format : `(issue #123)` ou `(closes #123)` pour le fermer. message, avec ce format :
** GitHub : closes #123
** Savannah : bug #12345, task #12345, patch #12345
Exemples de messages de commit : Exemples de messages de commit :
---- ----
core: add callback "nickcmp" for nick comparison in buffers
core: update Japanese translations
irc: add command /unquiet (closes #36) irc: add command /unquiet (closes #36)
python: fix crash when unloading a script without pointer to interpreter core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in CMake ruby: add detection of ruby version 1.9.3 in CMake
python: fix crash when unloading a script without pointer to interpreter
core: update Japanese translations (patch #7783)
---- ----
[[translations]] [[translations]]
-6
View File
@@ -2567,12 +2567,6 @@ première étendue à la dernière) :
|=== |===
| Format | Description | Exemples | Résultats | Format | Description | Exemples | Résultats
| `+${raw:xxx}+` +
_(WeeChat ≥ 3.1)_ |
Chaîne brute (non évaluée). |
`+${raw:${info:version}}+` |
`+${info:version}+`
| `+${nom}+` | | `+${nom}+` |
Variable `nom` de la table de hachage _extra_vars_. | Variable `nom` de la table de hachage _extra_vars_. |
`+${nom}+` | `+${nom}+` |
+50 -83
View File
@@ -93,20 +93,39 @@ Sous macOS, vous pouvez utiliser https://brew.sh/[Homebrew] :
[[dependencies]] [[dependencies]]
==== Dépendances ==== Dépendances
Le tableau suivant liste les paquets qui sont *requis* pour compiler WeeChat : Le tableau suivant liste les paquets qui sont requis ou optionnels pour
compiler WeeChat.
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="6,^3,^3,.^13",options="header"]
|=== |===
| Paquet ^(1)^ | Version | Fonctionnalité | Paquet ^(1)^ | Version | Requis | Fonctionnalité
| compilateur C | compilateur C
(gcc, clang, ...) | | Construction. (gcc, clang, ...) | | *oui* | Construction.
| cmake | ≥ 3.0 | Construction (autotools toujours possible, mais CMake est recommandé). | compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
| pkg-config | | Détection des bibliothèques installées. | cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais CMake est recommandé).
| libncursesw5-dev ^(2)^ | | Interface ncurses. | pkg-config | | *oui* | Détection des bibliothèques installées.
| libcurl4-gnutls-dev | | Transfert d'URL. | libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
| zlib1g-dev | | Compression des paquets dans l'extension relay (protocole weechat), extension script. | libcurl4-gnutls-dev | | *oui* | Transfert d'URL.
| libgcrypt20-dev | | Données sécurisées, authentification IRC SASL (DH-BLOWFISH/DH-AES). | zlib1g-dev | | *oui* | Compression des paquets dans l'extension relay (protocole weechat), extension script.
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | Connexion SSL au serveur IRC, support SSL dans l'extension relay, authentification IRC SASL (ECDSA-NIST256P-CHALLENGE). | libgcrypt20-dev | | *oui* | Données sécurisées, authentification IRC SASL (DH-BLOWFISH/DH-AES).
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | *oui* | Connexion SSL au serveur IRC, support SSL dans l'extension relay, authentification IRC SASL (ECDSA-NIST256P-CHALLENGE).
| gettext | | | Internationalisation (traduction des messages ; la langue de base est l'anglais).
| ca-certificates | | | Certificats pour les connexions SSL.
| libaspell-dev
∥ libenchant-dev | | | Extension spell.
| python3-dev | ^(4)^ | | Extension python.
| libperl-dev | | | Extension perl.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | | Extension ruby.
| liblua5.3-dev | | | Extension lua.
| tcl-dev | ≥ 8.5 | | Extension tcl.
| guile-2.0-dev | ≥ 2.0 | | Extension guile (scheme).
| libv8-dev | ≤ 3.24.3 | | Extension javascript.
| php-dev, libphp-embed | ≥ 7.0 | | Extension PHP.
| libxml2-dev | | | Extension PHP.
| libargon2-0-dev | | | Extension PHP (si PHP ≥ 7.2).
| libsodium-dev | | | Extension PHP (si PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | | Construction de la page man et de la documentation.
| libcpputest-dev | ≥ 3.4 | | Construction et lancement des tests.
|=== |===
[NOTE] [NOTE]
@@ -117,35 +136,8 @@ important). WeeChat peut compiler avec libncurses5-dev, but ce n'est *PAS*
recommandé : vous pourriez avoir des bugs d'affichage avec les caractères recommandé : vous pourriez avoir des bugs d'affichage avec les caractères
larges. + larges. +
^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme ^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
ECDSA-NIST256P-CHALLENGE. ECDSA-NIST256P-CHALLENGE. +
^(4)^ Par défaut Python 3.x est utilisé. Si vous activez l'option
Le tableau suivant liste les paquets qui sont optionnels pour compiler WeeChat :
[width="100%",cols="5,^3,.^15",options="header"]
|===
| Paquet | Version | Fonctionnalité
| compilateur C++ | | Construction et lancement des tests, extension JavaScript.
| gettext | | Internationalisation (traduction des messages ; la langue de base est l'anglais).
| ca-certificates | | Certificats pour les connexions SSL.
| libaspell-dev
∥ libenchant-dev | | Extension spell.
| python3-dev ^(1)^ | | Extension python.
| libperl-dev | | Extension perl.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | Extension ruby.
| liblua5.3-dev | | Extension lua.
| tcl-dev | ≥ 8.5 | Extension tcl.
| guile-2.0-dev | ≥ 2.0 | Extension guile (scheme).
| libv8-dev | ≤ 3.24.3 | Extension javascript.
| php-dev, libphp-embed | ≥ 7.0 | Extension PHP.
| libxml2-dev | | Extension PHP.
| libargon2-0-dev | | Extension PHP (si PHP ≥ 7.2).
| libsodium-dev | | Extension PHP (si PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | Construction de la page man et de la documentation.
| libcpputest-dev | ≥ 3.4 | Construction et lancement des tests.
|===
[NOTE]
^(1)^ Par défaut Python 3.x est utilisé. Si vous activez l'option
`+ENABLE_PYTHON2+` (voir ci-dessous), seule la version 2.7 de Python est `+ENABLE_PYTHON2+` (voir ci-dessous), seule la version 2.7 de Python est
recommandée. recommandée.
@@ -702,7 +694,7 @@ L'écran est composé des zones suivantes :
La barre _buflist_ contient les objets (items) suivants par défaut : La barre _buflist_ contient les objets (items) suivants par défaut :
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Objet (item) | Exemple | Description | Objet (item) | Exemple | Description
| buflist | `1.weechat` | Liste des tampons. | buflist | `1.weechat` | Liste des tampons.
@@ -710,7 +702,7 @@ La barre _buflist_ contient les objets (items) suivants par défaut :
La barre _title_ contient les objets (items) suivants par défaut : La barre _title_ contient les objets (items) suivants par défaut :
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Objet (item) | Exemple | Description | Objet (item) | Exemple | Description
| buffer_title | `Bienvenue sur #test` | Titre du tampon. | buffer_title | `Bienvenue sur #test` | Titre du tampon.
@@ -718,7 +710,7 @@ La barre _title_ contient les objets (items) suivants par défaut :
La barre _status_ contient les objets (items) suivants par défaut : La barre _status_ contient les objets (items) suivants par défaut :
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Objet (item) | Exemple | Description | Objet (item) | Exemple | Description
| time | `[12:55]` | Heure. | time | `[12:55]` | Heure.
@@ -738,7 +730,7 @@ La barre _status_ contient les objets (items) suivants par défaut :
La barre _input_ contient les objets (items) suivants par défaut : La barre _input_ contient les objets (items) suivants par défaut :
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Objet (item) | Exemple | Description | Objet (item) | Exemple | Description
| input_prompt | `[@Flashy(i)]` | Prompt, pour irc : pseudo et modes (le mode "+i" signifie invisible sur freenode). | input_prompt | `[@Flashy(i)]` | Prompt, pour irc : pseudo et modes (le mode "+i" signifie invisible sur freenode).
@@ -750,7 +742,7 @@ La barre _input_ contient les objets (items) suivants par défaut :
La barre _nicklist_ contient les objets (items) suivants par défaut : La barre _nicklist_ contient les objets (items) suivants par défaut :
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Objet (item) | Exemple | Description | Objet (item) | Exemple | Description
| buffer_nicklist | `@Flashy` | Liste des pseudos sur le tampon courant. | buffer_nicklist | `@Flashy` | Liste des pseudos sur le tampon courant.
@@ -758,27 +750,17 @@ La barre _nicklist_ contient les objets (items) suivants par défaut :
Autres objets (non utilisés dans des barres par défaut) : Autres objets (non utilisés dans des barres par défaut) :
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Objet (item) | Exemple | Description | Objet (item) | Exemple | Description
| buffer_count | `10` | Nombre total de tampons ouverts. | spell_dict | `fr,en` | Dictionnaires utilisés pour la vérification de l'orthographe sur le tampon courant.
| buffer_last_number | `10` | Numéro du dernier tampon (peut être différent de `buffer_count` si l'option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> est `off`). | spell_suggest | `print,prone,prune` | Suggestions pour le mot sous le curseur (si mal orthographié).
| buffer_nicklist_count_all | `4` | Nombre de groupes et pseudos visibles dans la liste de pseudos. | buffer_count | `10` | Nombre total de tampons ouverts.
| buffer_nicklist_count_groups | `0` | Nombre de groupes visibles dans la liste de pseudos. | buffer_short_name | `#test` | Nom court du tampon courant.
| buffer_short_name | `#test` | Nom court du tampon courant. | irc_channel | `#test` | Nom de canal IRC courant.
| buflist2 | `1.weechat` | Liste des tampons, deuxième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>). | irc_nick_modes | `@` | Modes IRC pour le pseudo.
| buflist3 | `1.weechat` | Liste des tampons, troisième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>). | mouse_status | `M` | Statut de la souris (vide si la souris est désactivée).
| fset | `+buflist.look.sort: …+` | Aide sur l'option sélectionnée dans le tampon fset. | window_number | `2` | Numéro de la fenêtre courante.
| irc_channel | `#test` | Nom de canal IRC courant.
| irc_host | `+user@host.com+` | Hôte sur IRC.
| irc_nick | `+Flashy+` | Pseudo IRC.
| irc_nick_host | `+Flashy!user@host.com+` | Pseudo et hôte IRC.
| irc_nick_modes | `i` | Modes IRC pour le pseudo.
| irc_nick_prefix | `@` | Préfixe de pseudo IRC sur le canal.
| mouse_status | `M` | Statut de la souris (vide si la souris est désactivée).
| spell_dict | `fr,en` | Dictionnaires utilisés pour la vérification de l'orthographe sur le tampon courant.
| spell_suggest | `print,prone,prune` | Suggestions pour le mot sous le curseur (si mal orthographié).
| window_number | `2` | Numéro de la fenêtre courante.
|=== |===
[[command_line]] [[command_line]]
@@ -2293,27 +2275,12 @@ données sont stockées sous forme de texte en clair dans le fichier.
/secure passphrase ceci est ma phrase secrète /secure passphrase ceci est ma phrase secrète
---- ----
// TRANSLATION MISSING
===== Passphrase on startup
Lorsqu'une phrase secrète est définie, WeeChat vous demandera de la saisir lors Lorsqu'une phrase secrète est définie, WeeChat vous demandera de la saisir lors
du démarrage (mais pas sur `/upgrade`). du démarrage (mais pas sur `/upgrade`).
Si vous utilisez un gestionnaire de mots de passe, vous pouvez lancer Vous pouvez modifier ce comportement et utiliser un fichier avec la phrase
un programme externe pour lire la phrase de chiffrement au lieu d'avoir secrète (voir l'option
à l'entrer manuellement au démarrage de WeeChat. + <<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>>).
Par exemple avec password-store (command `pass`) :
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
Le programme peut vous demander de déverrouiller votre clé GPG ou d'entrer une
autre phrase de chiffrement. WeeChat attendra la fin de la commande pour lire
la phrase de chiffrement sur la sortie standard (elle doit être sur la première
ligne et sans caractère supplémentaire). +
Si la sortie ne contient pas de phrase de chiffrement ou si celle-ci est
erronée, WeeChat vous demandera alors de la saisir.
[[secured_data_encryption]] [[secured_data_encryption]]
===== Chiffrement ===== Chiffrement
@@ -20,8 +20,6 @@
| irc | irc_is_channel | 1 se la stringa è il nome di un canale IRC valido per il server | server,canale (server è opzionale) | irc | irc_is_channel | 1 se la stringa è il nome di un canale IRC valido per il server | server,canale (server è opzionale)
| irc | irc_is_message_ignored | 1 if the nick is ignored (message is not displayed) | server,message (message is the raw IRC message)
| irc | irc_is_nick | 1 se la stringa è un nick IRC valido | server,nickname (server is optional) | irc | irc_is_nick | 1 se la stringa è un nick IRC valido | server,nickname (server is optional)
| irc | irc_nick | ottiene nick corrente su un server | nome server | irc | irc_nick | ottiene nick corrente su un server | nome server
@@ -14,7 +14,5 @@
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference | weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
|=== |===
// end::infos_hashtable[] // end::infos_hashtable[]
+20 -24
View File
@@ -1341,27 +1341,26 @@ To force a string comparison, you can add double quotes around each expression,
"50" > "100" ==> 1 "50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority: Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
1. the string itself without evaluation (format: "raw:xxx") 1. an evaluated sub-string (format: "eval:xxx")
2. an evaluated sub-string (format: "eval:xxx") 2. an evaluated condition (format: "eval_cond:xxx")
3. an evaluated condition (format: "eval_cond:xxx") 3. a string with escaped chars (format: "esc:xxx" or "\xxx")
4. a string with escaped chars (format: "esc:xxx" or "\xxx") 4. a string with chars to hide (format: "hide:char,string")
5. a string with chars to hide (format: "hide:char,string") 5. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
6. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string") or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
7. a reversed string (format: "rev:xxx" or "revscr:xxx") 6. a reversed string (format: "rev:xxx" or "revscr:xxx")
8. a repeated string (format: "repeat:count,string") 7. a repeated string (format: "repeat:count,string")
9. length of a string (format: "length:xxx" or "lengthscr:xxx") 8. length of a string (format: "length:xxx" or "lengthscr:xxx")
10. a color (format: "color:xxx", see "Plugin API reference", function "color") 9. a color (format: "color:xxx", see "Plugin API reference", function "color")
11. a modifier (format: "modifier:name,data,string") 10. a modifier (format: "modifier:name,data,string")
12. an info (format: "info:name,arguments", arguments are optional) 11. an info (format: "info:name,arguments", arguments are optional)
13. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx") 12. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
14. current date/time (format: "date" or "date:format") 13. current date/time (format: "date" or "date:format")
15. an environment variable (format: "env:XXX") 14. an environment variable (format: "env:XXX")
16. a ternary operator (format: "if:condition?value_if_true:value_if_false") 15. a ternary operator (format: "if:condition?value_if_true:value_if_false")
17. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx") 16. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
18. an option (format: "file.section.option") 17. an option (format: "file.section.option")
19. a local variable in buffer 18. a local variable in buffer
20. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 19. 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:
@@ -1372,7 +1371,6 @@ Format for hdata can be one of following:
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings): Examples (simple strings):
/eval -n ${raw:${info:version}} ==> ${info:version}
/eval -n ${eval_cond:${window.win_width}>100} ==> 1 /eval -n ${eval_cond:${window.win_width}>100} ==> 1
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
@@ -1873,7 +1871,7 @@ Keys on secure buffer:
alt+v toggle values alt+v toggle values
When a passphrase is used (data encrypted), it is asked by WeeChat on startup. When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_command to read the passphrase from the output of an external command like a password manager (see /help sec.crypt.passphrase_command). It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_file to read the passphrase from a file (see /help sec.crypt.passphrase_file).
Secured data with format ${sec.data.xxx} can be used in: Secured data with format ${sec.data.xxx} can be used in:
- command /eval - command /eval
@@ -1884,8 +1882,6 @@ Secured data with format ${sec.data.xxx} can be used in:
Examples: Examples:
set a passphrase: set a passphrase:
/secure passphrase this is my passphrase /secure passphrase this is my passphrase
use program "pass" to read the passphrase on startup:
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
encrypt freenode SASL password: encrypt freenode SASL password:
/secure set freenode mypassword /secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
+2 -20
View File
@@ -16,8 +16,8 @@
** valori: sha224, sha256, sha384, sha512 ** valori: sha224, sha256, sha384, sha512
** valore predefinito: `+sha256+` ** valore predefinito: `+sha256+`
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** descrizione: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "pass show weechat/passphrase"] ** descrizione: pass:none[path to a file containing the passphrase to encrypt/decrypt secured data; this option is used only when reading file sec.conf; only first line of file is used; this file is used only if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); security note: it is recommended to keep this file readable only by you and store it outside WeeChat home (for example in your home); example: "~/.weechat-passphrase"]
** tipo: stringa ** tipo: stringa
** valori: qualsiasi stringa ** valori: qualsiasi stringa
** valore predefinito: `+""+` ** valore predefinito: `+""+`
@@ -846,12 +846,6 @@
** valori: on, off ** valori: on, off
** valore predefinito: `+on+` ** valore predefinito: `+on+`
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
** descrizione: pass:none[update the hotlist when switching buffers]
** tipo: bool
** valori: on, off
** valore predefinito: `+on+`
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll* * [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** descrizione: pass:none[numero di caratteri mostrati dopo la fine della riga di input quando si scorre per mostrare la fine riga] ** descrizione: pass:none[numero di caratteri mostrati dopo la fine della riga di input quando si scorre per mostrare la fine riga]
** tipo: intero ** tipo: intero
@@ -1146,12 +1140,6 @@
** valori: qualsiasi stringa ** valori: qualsiasi stringa
** valore predefinito: `+"- "+` ** valore predefinito: `+"- "+`
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
** descrizione: pass:none[update the read marker when switching buffers]
** tipo: bool
** valori: on, off
** valore predefinito: `+on+`
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit* * [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
** descrizione: pass:none[salva file di configurazione all'uscita] ** descrizione: pass:none[salva file di configurazione all'uscita]
** tipo: bool ** tipo: bool
@@ -1781,12 +1769,6 @@
** tipo: stringa ** tipo: stringa
** valori: qualsiasi stringa ** valori: qualsiasi stringa
** valore predefinito: `+"number,-active"+` ** valore predefinito: `+"number,-active"+`
* [[option_buflist.look.use_items]] *buflist.look.use_items*
** descrizione: pass:none[number of buflist bar items that can be used; the item names are: "buflist", "buflist2", "buflist3"; be careful, using more than one bar item slows down the display of buffers list]
** tipo: intero
** valori: 1 .. 3
** valore predefinito: `+1+`
// end::buflist_options[] // end::buflist_options[]
// tag::fifo_options[] // tag::fifo_options[]
-7
View File
@@ -2636,13 +2636,6 @@ expanded to last):
|=== |===
| Format | Description | Examples | Results | Format | Description | Examples | Results
// TRANSLATION MISSING
| `+${raw:xxx}+` +
_(WeeChat ≥ 3.1)_ |
Raw string (not evaluated). |
`+${raw:${info:version}}+` |
`+${info:version}+`
| `+${name}+` | | `+${name}+` |
Variable `name` from hashtable _extra_vars_. | Variable `name` from hashtable _extra_vars_. |
`+${name}+` | `+${name}+` |
+57 -93
View File
@@ -106,29 +106,52 @@ On macOS, you can use https://brew.sh/[Homebrew]:
[[dependencies]] [[dependencies]]
==== Dipendenze ==== Dipendenze
// TRANSLATION MISSING La seguente tabella mostra l'elenco di pacchetti richiesti o opzionali per
The following table shows the list of packages that are *required* to compile compilare WeeChat.
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="6,^3,^3,.^13",options="header"]
|=== |===
| Pacchetto ^(1)^ | Versione | Caratteristica | Pacchetto ^(1)^ | Versione | Richiesto | Caratteristica
// TRANSLATION MISSING // TRANSLATION MISSING
| C compiler | C compiler
(gcc, clang, ...) | | Build. (gcc, clang, ...) | | *sì* | Build.
| cmake | ≥ 3.0 | Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
// TRANSLATION MISSING // TRANSLATION MISSING
| pkg-config | | Detect installed libraries. | C++ compiler | | | Build and run tests, plugin JavaScript.
| libncursesw5-dev ^(2)^ | | Interfaccia ncurses. | cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
| libcurl4-gnutls-dev | | Trasferimento URL.
// TRANSLATION MISSING // TRANSLATION MISSING
| zlib1g-dev | | Compression of packets in relay plugin (weechat protocol), script plugin. | pkg-config | | *sì* | Detect installed libraries.
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.
| libcurl4-gnutls-dev | | *sì* | Trasferimento URL.
// TRANSLATION MISSING // TRANSLATION MISSING
| libgcrypt20-dev | | Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES). | zlib1g-dev | | *sì* | Compression of packets in relay plugin (weechat protocol), script plugin.
// TRANSLATION MISSING // TRANSLATION MISSING
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | Connessione SSL al server IRC, support of SSL in relay plugin, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). | libgcrypt20-dev | | *sì* | Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES).
// TRANSLATION MISSING
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | *sì* | Connessione SSL al server IRC, support of SSL in relay plugin, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE).
| gettext | | | Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese).
| ca-certificates | | | Certificati per le connessioni SSL.
| libaspell-dev
∥ libenchant-dev | | | Plugin spell.
| python3-dev | ^(4)^ | | Plugin python.
| libperl-dev | | | Plugin perl.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | | Plugin ruby.
| liblua5.3-dev | | | Plugin lua.
| tcl-dev | ≥ 8.5 | | Plugin tcl.
| guile-2.0-dev | ≥ 2.0 | | Plugin guile (scheme).
| libv8-dev | ≤ 3.24.3 | | Plugin javascript.
| php-dev, libphp-embed | ≥ 7.0 | | Plugin php.
| libxml2-dev | | | Plugin php.
// TRANSLATION MISSING
| libargon2-0-dev | | | Plugin php (if PHP ≥ 7.2).
// TRANSLATION MISSING
| libsodium-dev | | | Plugin php (if PHP ≥ 7.2).
// TRANSLATION MISSING
| asciidoctor | ≥ 1.5.4 | | Build man page and documentation.
// TRANSLATION MISSING
| libcpputest-dev | ≥ 3.4 | | Build and run tests.
|=== |===
// TRANSLATION MISSING (note 3)
[NOTE] [NOTE]
^(1)^ Il nome viene dalla distribuzione Debian GNU/Linux, nomi e versioni dei pacchetti ^(1)^ Il nome viene dalla distribuzione Debian GNU/Linux, nomi e versioni dei pacchetti
potrebbero essere differenti in versioni e distribuzioni differenti. + potrebbero essere differenti in versioni e distribuzioni differenti. +
@@ -138,43 +161,9 @@ important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommende
you may experience display bugs with wide chars. + you may experience display bugs with wide chars. +
// TRANSLATION MISSING // TRANSLATION MISSING
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism ^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
ECDSA-NIST256P-CHALLENGE. ECDSA-NIST256P-CHALLENGE. +
// TRANSLATION MISSING // TRANSLATION MISSING
The following table shows the list of packages that are optional to compile ^(4)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+` (see
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
| Pacchetto | Versione | Caratteristica
// TRANSLATION MISSING
| C++ compiler | | Build and run tests, plugin JavaScript.
| gettext | | Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese).
| ca-certificates | | Certificati per le connessioni SSL.
| libaspell-dev
∥ libenchant-dev | | Plugin spell.
| python3-dev ^(1)^ | | Plugin python.
| libperl-dev | | Plugin perl.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | Plugin ruby.
| liblua5.3-dev | | Plugin lua.
| tcl-dev | ≥ 8.5 | Plugin tcl.
| guile-2.0-dev | ≥ 2.0 | Plugin guile (scheme).
| libv8-dev | ≤ 3.24.3 | Plugin javascript.
| php-dev, libphp-embed | ≥ 7.0 | Plugin php.
| libxml2-dev | | Plugin php.
// TRANSLATION MISSING
| libargon2-0-dev | | Plugin php (if PHP ≥ 7.2).
// TRANSLATION MISSING
| libsodium-dev | | Plugin php (if PHP ≥ 7.2).
// TRANSLATION MISSING
| asciidoctor | ≥ 1.5.4 | Build man page and documentation.
// TRANSLATION MISSING
| libcpputest-dev | ≥ 3.4 | Build and run tests.
|===
[NOTE]
// TRANSLATION MISSING
^(1)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+` (see
below), only the version 2.7 of Python is recommended. below), only the version 2.7 of Python is recommended.
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -750,7 +739,7 @@ Lo schermo è composto dalle seguenti aree:
La barra _buflist_ ha i seguenti elementi predefiniti: La barra _buflist_ ha i seguenti elementi predefiniti:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Elemento | Esempio | Descrizione | Elemento | Esempio | Descrizione
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -759,7 +748,7 @@ La barra _buflist_ ha i seguenti elementi predefiniti:
La barra _title_ ha i seguenti elementi predefiniti: La barra _title_ ha i seguenti elementi predefiniti:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Elemento | Esempio | Descrizione | Elemento | Esempio | Descrizione
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -768,7 +757,7 @@ La barra _title_ ha i seguenti elementi predefiniti:
La barra _status_ ha i seguenti elementi predefiniti: La barra _status_ ha i seguenti elementi predefiniti:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Elemento | Esempio | Descrizione | Elemento | Esempio | Descrizione
| time | `[12:55]` | Ora. | time | `[12:55]` | Ora.
@@ -791,7 +780,7 @@ La barra _status_ ha i seguenti elementi predefiniti:
La barra _input_ ha i seguenti elementi predefiniti: La barra _input_ ha i seguenti elementi predefiniti:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Elemento | Esempio | Descrizione | Elemento | Esempio | Descrizione
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -805,7 +794,7 @@ La barra _input_ ha i seguenti elementi predefiniti:
La barra _nicklist_ ha i seguenti elementi predefiniti: La barra _nicklist_ ha i seguenti elementi predefiniti:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Elemento | Esempio | Descrizione | Elemento | Esempio | Descrizione
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -816,27 +805,17 @@ La barra _nicklist_ ha i seguenti elementi predefiniti:
Other items available (not used in bars by default): Other items available (not used in bars by default):
// TRANSLATION MISSING // TRANSLATION MISSING
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Item | Example | Description | Item | Example | Description
| buffer_count | `10` | Total number of buffers opened. | spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`). | spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist. | buffer_count | `10` | Total number of buffers opened.
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist. | buffer_short_name | `#test` | Current buffer short name.
| buffer_short_name | `#test` | Current buffer short name. | irc_channel | `#test` | Current IRC channel name.
| buflist2 | `1.weechat` | List of buffers, second bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>). | irc_nick_modes | `@` | IRC modes for self nick.
| buflist3 | `1.weechat` | List of buffers, third bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>). | mouse_status | `M` | Mouse status (empty if mouse is disabled).
| fset | `+buflist.look.sort: …+` | Help on currently selected option on fset buffer. | window_number | `2` | Current window number.
| irc_channel | `#test` | Current IRC channel name.
| irc_host | `+user@host.com+` | Current IRC host.
| irc_nick | `+Flashy+` | Current IRC nick.
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
| irc_nick_modes | `i` | IRC modes for self nick.
| irc_nick_prefix | `@` | IRC nick prefix on channel.
| mouse_status | `M` | Mouse status (empty if mouse is disabled).
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
| window_number | `2` | Current window number.
|=== |===
[[command_line]] [[command_line]]
@@ -2383,26 +2362,11 @@ but highly recommended, otherwise data is stored as plain text in file.
/secure passphrase this is my passphrase /secure passphrase this is my passphrase
---- ----
// TRANSLATION MISSING When a passphrase is set, WeeChat will ask you to enter it on startup (but not
===== Passphrase on startup on `/upgrade`).
When a passphrase is set, WeeChat will ask you to enter it on startup You can change this behavior and use a file with the passphrase (see option
(but not on `/upgrade`). <<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>>).
If you are using a password manager, you can run an external program to read
the passphrase instead of having to type it manually on WeeChat startup. +
For example with password-store (command `pass`):
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
The program may ask you unlock your GPG key or enter another passphrase to
read the secret. WeeChat will wait for the end of the command to read the
passphrase on the standard output (it must be on the first line without any
extra character). +
If the output contains no passphrase or if it is wrong, WeeChat will then ask
you to enter it.
[[secured_data_encryption]] [[secured_data_encryption]]
===== Encryption ===== Encryption
@@ -20,8 +20,6 @@
| irc | irc_is_channel | 文字列がサーバの有効な IRC チャンネル名なら 1 | サーバ、チャンネル (サーバは任意) | irc | irc_is_channel | 文字列がサーバの有効な IRC チャンネル名なら 1 | サーバ、チャンネル (サーバは任意)
| irc | irc_is_message_ignored | 1 if the nick is ignored (message is not displayed) | server,message (message is the raw IRC message)
| irc | irc_is_nick | 文字列が有効な IRC ニックネームなら 1 | server,nickname (server is optional) | irc | irc_is_nick | 文字列が有効な IRC ニックネームなら 1 | server,nickname (server is optional)
| irc | irc_nick | あるサーバの現在のニックネームを取得 | サーバ名 | irc | irc_nick | あるサーバの現在のニックネームを取得 | サーバ名
@@ -14,7 +14,5 @@
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference | weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
|=== |===
// end::infos_hashtable[] // end::infos_hashtable[]
+40 -44
View File
@@ -1341,27 +1341,26 @@ To force a string comparison, you can add double quotes around each expression,
"50" > "100" ==> 1 "50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority: Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
1. the string itself without evaluation (format: "raw:xxx") 1. an evaluated sub-string (format: "eval:xxx")
2. an evaluated sub-string (format: "eval:xxx") 2. an evaluated condition (format: "eval_cond:xxx")
3. an evaluated condition (format: "eval_cond:xxx") 3. a string with escaped chars (format: "esc:xxx" or "\xxx")
4. a string with escaped chars (format: "esc:xxx" or "\xxx") 4. a string with chars to hide (format: "hide:char,string")
5. a string with chars to hide (format: "hide:char,string") 5. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
6. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string") or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
7. a reversed string (format: "rev:xxx" or "revscr:xxx") 6. a reversed string (format: "rev:xxx" or "revscr:xxx")
8. a repeated string (format: "repeat:count,string") 7. a repeated string (format: "repeat:count,string")
9. length of a string (format: "length:xxx" or "lengthscr:xxx") 8. length of a string (format: "length:xxx" or "lengthscr:xxx")
10. a color (format: "color:xxx", see "Plugin API reference", function "color") 9. a color (format: "color:xxx", see "Plugin API reference", function "color")
11. a modifier (format: "modifier:name,data,string") 10. a modifier (format: "modifier:name,data,string")
12. an info (format: "info:name,arguments", arguments are optional) 11. an info (format: "info:name,arguments", arguments are optional)
13. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx") 12. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
14. current date/time (format: "date" or "date:format") 13. current date/time (format: "date" or "date:format")
15. an environment variable (format: "env:XXX") 14. an environment variable (format: "env:XXX")
16. a ternary operator (format: "if:condition?value_if_true:value_if_false") 15. a ternary operator (format: "if:condition?value_if_true:value_if_false")
17. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx") 16. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
18. an option (format: "file.section.option") 17. an option (format: "file.section.option")
19. a local variable in buffer 18. a local variable in buffer
20. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 19. 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:
@@ -1372,7 +1371,6 @@ Format for hdata can be one of following:
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings): Examples (simple strings):
/eval -n ${raw:${info:version}} ==> ${info:version}
/eval -n ${eval_cond:${window.win_width}>100} ==> 1 /eval -n ${eval_cond:${window.win_width}>100} ==> 1
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
@@ -1860,39 +1858,37 @@ file: 保存する設定ファイル (拡張子 ".conf" は不要)
set <name> <value> set <name> <value>
del <name> del <name>
passphrase: change the passphrase (without passphrase, data is stored as plain text in file sec.conf) passphrase: パスフレーズを変更 (パスフレーズがない場合、sec.conf ファイルに平文でデータを保存します)
-delete: delete passphrase -delete: パスフレーズを削除
decrypt: decrypt data still encrypted (it happens only if passphrase was not given on startup) decrypt: 暗号化されているデータを復号化 (起動時にパスフレーズが設定されていない場合に起きます)
-discard: discard all data still encrypted -discard: 全ての暗号化データを破棄
set: add or change secured data set: 保護データを追加または変更
del: delete secured data del: 保護データを削除
Without argument, this command displays secured data in a new buffer. 引数がない場合、新しいバッファに保護データを表示します。
Keys on secure buffer: 保護バッファ内で利用可能なキー:
alt+v toggle values alt+v 値を切り替えます
When a passphrase is used (data encrypted), it is asked by WeeChat on startup. パスフレーズを利用する場合 (データが暗号化されている場合)、WeeChat は起動時にパスフレーズを尋ねます。
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_command to read the passphrase from the output of an external command like a password manager (see /help sec.crypt.passphrase_command). 入力を回避するには、環境変数 "WEECHAT_PASSPHRASE" を利用するか (WeeChat /upgrade の時に同じ変数を利用します)、sec.crypt.passphrase_file オプションを設定してファイルからパスフレーズを読み込みます (/help sec.crypt.passphrase_file を参照してください)。
Secured data with format ${sec.data.xxx} can be used in: ${sec.data.xxx} の形で書かれた保護データは以下の様に利用できます:
- command /eval - /eval コマンド
- command line argument "--run-command" - コマンドライン引数 "--run-command"
- options weechat.startup.command_{before|after}_plugins - weechat.startup.command_{before|after}_plugins オプション
- other options that may contain a password or sensitive data (for example proxy, irc server and relay); see /help on the options to check if they are evaluated. - パスワードや機密データを含むと思われるその他のオプション (例えば、プロキシ、irc サーバ、リレー); 保護データが評価されるかを確認するには各オプションの /help を参照してください。
Examples: :
set a passphrase: パスフレーズを設定:
/secure passphrase this is my passphrase /secure passphrase this is my passphrase
use program "pass" to read the passphrase on startup: freenode の SASL パスワードを暗号化:
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
encrypt freenode SASL password:
/secure set freenode mypassword /secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
encrypt oftc password for nickserv: oftc の nickserv 用パスワードを暗号化:
/secure set oftc mypassword /secure set oftc mypassword
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}" /set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias to ghost the nick "mynick": ニックネーム "mynick" を取り戻すためのエイリアス ghost を設定
/alias add ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode} /alias add ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode}
---- ----
+2 -20
View File
@@ -16,8 +16,8 @@
** 値: sha224, sha256, sha384, sha512 ** 値: sha224, sha256, sha384, sha512
** デフォルト値: `+sha256+` ** デフォルト値: `+sha256+`
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** 説明: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "pass show weechat/passphrase"] ** 説明: pass:none[保護データを暗号化/複合化するためのパスフレーズを保存したファイルパス; このオプションは sec.conf ファイルを読むときだけに利用されます; ファイルの 1 行目だけが利用されます; このファイルは環境変数 "WEECHAT_PASSPHRASE" が設定されていないときだけに利用されます (環境変数のほうが優先順位が高いです); セキュリティ上の注意: このファイルを自分だけが読み込める状態にし、WeeChat ホームの外 (例えば自分のホームディレクトリ) に保存しておくことを推奨します; 例: "~/.weechat-passphrase"]
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 ** 値: 未制約文字列
** デフォルト値: `+""+` ** デフォルト値: `+""+`
@@ -846,12 +846,6 @@
** 値: on, off ** 値: on, off
** デフォルト値: `+on+` ** デフォルト値: `+on+`
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
** 説明: pass:none[update the hotlist when switching buffers]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+on+`
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll* * [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** 説明: pass:none[行の最後までスクロールする際に入力行の最後に続けて表示される文字の数] ** 説明: pass:none[行の最後までスクロールする際に入力行の最後に続けて表示される文字の数]
** タイプ: 整数 ** タイプ: 整数
@@ -1146,12 +1140,6 @@
** 値: 未制約文字列 ** 値: 未制約文字列
** デフォルト値: `+"- "+` ** デフォルト値: `+"- "+`
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
** 説明: pass:none[update the read marker when switching buffers]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+on+`
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit* * [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
** 説明: pass:none[終了時に設定ファイルを保存] ** 説明: pass:none[終了時に設定ファイルを保存]
** タイプ: ブール ** タイプ: ブール
@@ -1781,12 +1769,6 @@
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 ** 値: 未制約文字列
** デフォルト値: `+"number,-active"+` ** デフォルト値: `+"number,-active"+`
* [[option_buflist.look.use_items]] *buflist.look.use_items*
** 説明: pass:none[number of buflist bar items that can be used; the item names are: "buflist", "buflist2", "buflist3"; be careful, using more than one bar item slows down the display of buffers list]
** タイプ: 整数
** 値: 1 .. 3
** デフォルト値: `+1+`
// end::buflist_options[] // end::buflist_options[]
// tag::fifo_options[] // tag::fifo_options[]
+14 -8
View File
@@ -1111,13 +1111,18 @@ Git リポジトリはこの URL にあります: https://github.com/weechat/wee
リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です
(`git diff` または `git format-patch` で作成してください)。 (`git diff` または `git format-patch` で作成してください)。
// TRANSLATION MISSING コミットメッセージは以下の書式に従ってください (GitHub の issue を閉じる場合):
Format of commit message is the following (with automatic close of a GitHub issue):
---- ----
component: fix a problem (closes #123) component: fix a problem (closes #123)
---- ----
Savannah のバグを閉じる場合:
----
component: fix a problem (bug #12345)
----
_component_ には以下から 1 つ選んで記入してください: _component_ には以下から 1 つ選んで記入してください:
* WeeChat コア: _core_ (ルートディレクトリ、_po/_ ディレクトリ、_src/_ * WeeChat コア: _core_ (ルートディレクトリ、_po/_ ディレクトリ、_src/_
@@ -1129,18 +1134,19 @@ _component_ には以下から 1 つ選んで記入してください:
* 英語を使ってください * 英語を使ってください
* 動詞の原形を使ってください * 動詞の原形を使ってください
// TRANSLATION MISSING * コミットの内容がトラッカーに関するものである場合には、コミットメッセージの後にカッコで括ってその旨記載してください、書式は以下のようにしてください:
* If commit is related to a GitHub issue, write it in parenthesis after ** GitHub: closes #123
the message, with this format: `(issue #123)` or `(closes #123)` to close it. ** Savannah: bug #12345, task #12345, patch #12345
コミットメッセージの例: コミットメッセージの例:
---- ----
core: add callback "nickcmp" for nick comparison in buffers
core: update Japanese translations
irc: add command /unquiet (closes #36) irc: add command /unquiet (closes #36)
python: fix crash when unloading a script without pointer to interpreter core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in CMake ruby: add detection of ruby version 1.9.3 in CMake
python: fix crash when unloading a script without pointer to interpreter
core: update Japanese translations (patch #7783)
---- ----
[[translations]] [[translations]]
-7
View File
@@ -2548,13 +2548,6 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|=== |===
| 書式 | 説明 | 例 | 結果 | 書式 | 説明 | 例 | 結果
// TRANSLATION MISSING
| `+${raw:xxx}+` +
_(WeeChat ≥ 3.1)_ |
Raw string (not evaluated). |
`+${raw:${info:version}}+` |
`+${info:version}+`
| `+${name}+` | | `+${name}+` |
_extra_vars_ の変数 `name` の値に展開 | _extra_vars_ の変数 `name` の値に展開 |
`+${name}+` | `+${name}+` |
+51 -98
View File
@@ -95,22 +95,39 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
[[dependencies]] [[dependencies]]
==== 依存関係 ==== 依存関係
// TRANSLATION MISSING 以下の表は WeeChat
The following table shows the list of packages that are *required* to compile のコンパイルに必須または任意で必要なパッケージのリストです。
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="6,^3,^3,.^13",options="header"]
|=== |===
| パッケージ ^(1)^ | バージョン | 機能 | パッケージ ^(1)^ | バージョン | 要件 | 機能
| C コンパイラ | C コンパイラ
(gcc, clang, ...) | | ビルド (gcc, clang, ...) | | *必須* | ビルド
| cmake | ≥ 3.0 | ビルド (autotools でも可能ですが、CMake を推奨します) | C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
| pkg-config | | インストール済みライブラリを検出 | cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、CMake を推奨します)
| libncursesw5-dev ^(2)^ | | ncurses インターフェース | pkg-config | | *必須* | インストール済みライブラリを検出
| libcurl4-gnutls-dev | | URL 転送 | libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
| zlib1g-dev | | relay プラグインでパケットを圧縮 (weechat プロトコル)、スクリプトプラグイン | libcurl4-gnutls-dev | | *必須* | URL 転送
| libgcrypt20-dev | | 保護データ、IRC SASL 認証 (DH-BLOWFISH/DH-AES) | zlib1g-dev | | *必須* | relay プラグインでパケットを圧縮 (weechat プロトコル)、スクリプトプラグイン
| libgnutls28-dev | 2.2.0 以上 ^(3)^ | IRC サーバへの SSL 接続、IRC SASL 認証 (ECDSA-NIST256P-CHALLENGE) | libgcrypt20-dev | | *必須* | 保護データ、IRC SASL 認証 (DH-BLOWFISH/DH-AES)
| libgnutls28-dev | 2.2.0 以上 ^(3)^ | *必須* | IRC サーバへの SSL 接続、IRC SASL 認証 (ECDSA-NIST256P-CHALLENGE)
| gettext | | | 国際化 (メッセージの翻訳; ベース言語は英語です)
| ca-certificates | | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
| libaspell-dev
∥ libenchant-dev | | | spell プラグイン
| python3-dev | ^(4)^ | | python プラグイン
| libperl-dev | | | perl プラグイン
| ruby2.5, ruby2.5-dev | 1.9.1 以上 | | ruby プラグイン
| liblua5.3-dev | | | lua プラグイン
| tcl-dev | 8.5 以上 | | tcl プラグイン
| guile-2.0-dev | 2.0 以上 | | guile (scheme) プラグイン
| libv8-dev | 3.24.3 以下 | | javascript プラグイン
| php-dev, libphp-embed | 7.0 以上 | | PHP プラグイン
| libxml2-dev | | | PHP プラグイン
| libargon2-0-dev | | | PHP プラグイン (PHP 7.2 以上の場合)
| libsodium-dev | | | PHP プラグイン (PHP 7.2 以上の場合)
| asciidoctor | 1.5.4 以上 | | man ページと文書のビルド
| libcpputest-dev | 3.4 以上 | | ビルドとテストの実行
|=== |===
[NOTE] [NOTE]
@@ -120,38 +137,9 @@ WeeChat:
(*w* が重要です)。libncurses5-dev でもコンパイル可能ですが、これは推奨 (*w* が重要です)。libncurses5-dev でもコンパイル可能ですが、これは推奨
*されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 + *されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 +
^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS ^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
バージョン 3.0.21 以上が必要です。 バージョン 3.0.21 以上が必要です。 +
// TRANSLATION MISSING // TRANSLATION MISSING
The following table shows the list of packages that are optional to compile ^(4)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+` (see
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
| パッケージ | バージョン | 機能
| C++ コンパイラ | | ビルドとテストの実行、JavaScript プラグイン
| gettext | | 国際化 (メッセージの翻訳; ベース言語は英語です)
| ca-certificates | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
| libaspell-dev
∥ libenchant-dev | | spell プラグイン
| python3-dev ^(1)^ | | python プラグイン
| libperl-dev | | perl プラグイン
| ruby2.5, ruby2.5-dev | 1.9.1 以上 | ruby プラグイン
| liblua5.3-dev | | lua プラグイン
| tcl-dev | 8.5 以上 | tcl プラグイン
| guile-2.0-dev | 2.0 以上 | guile (scheme) プラグイン
| libv8-dev | 3.24.3 以下 | javascript プラグイン
| php-dev, libphp-embed | 7.0 以上 | PHP プラグイン
| libxml2-dev | | PHP プラグイン
| libargon2-0-dev | | PHP プラグイン (PHP 7.2 以上の場合)
| libsodium-dev | | PHP プラグイン (PHP 7.2 以上の場合)
| asciidoctor | 1.5.4 以上 | man ページと文書のビルド
| libcpputest-dev | 3.4 以上 | ビルドとテストの実行
|===
[NOTE]
// TRANSLATION MISSING
^(1)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+` (see
below), only the version 2.7 of Python is recommended. below), only the version 2.7 of Python is recommended.
Debian および Ubuntu Debian および Ubuntu
@@ -708,7 +696,7 @@ WeeChat を起動した端末の例:
バッファリスト (_buflist_) バーは以下の初期要素を持っています: バッファリスト (_buflist_) バーは以下の初期要素を持っています:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| 要素 | 例 | 説明 | 要素 | 例 | 説明
| buflist | `1.weechat` | バッファ一覧 | buflist | `1.weechat` | バッファ一覧
@@ -716,7 +704,7 @@ WeeChat を起動した端末の例:
状態 (_title_) バーは以下の初期要素を持っています: 状態 (_title_) バーは以下の初期要素を持っています:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| 要素 | 例 | 説明 | 要素 | 例 | 説明
| buffer_title | `Welcome to #test` | バッファタイトル | buffer_title | `Welcome to #test` | バッファタイトル
@@ -724,7 +712,7 @@ WeeChat を起動した端末の例:
状態 (_status_) バーは以下の初期要素を持っています: 状態 (_status_) バーは以下の初期要素を持っています:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| 要素 | 例 | 説明 | 要素 | 例 | 説明
| time | `[12:55]` | 時刻 | time | `[12:55]` | 時刻
@@ -745,7 +733,7 @@ WeeChat を起動した端末の例:
入力 (_input_) バーは以下の初期要素を持っています: 入力 (_input_) バーは以下の初期要素を持っています:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| 要素 | 例 | 説明 | 要素 | 例 | 説明
| input_prompt | `[@Flashy]` | 入力プロンプト、irc の場合: ニックネームとモード (freenode では "+i" モードは不可視状態を意味します) | input_prompt | `[@Flashy]` | 入力プロンプト、irc の場合: ニックネームとモード (freenode では "+i" モードは不可視状態を意味します)
@@ -757,7 +745,7 @@ WeeChat を起動した端末の例:
ニックネームリスト (_nicklist_) バーは以下の初期要素を持っています: ニックネームリスト (_nicklist_) バーは以下の初期要素を持っています:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| 要素 | 例 | 説明 | 要素 | 例 | 説明
| buffer_nicklist | `@Flashy` | 現在のバッファのニックネーム一覧 | buffer_nicklist | `@Flashy` | 現在のバッファのニックネーム一覧
@@ -765,37 +753,17 @@ WeeChat を起動した端末の例:
その他の利用可能な要素 (初期状態のバーはこれらの要素を持ちません): その他の利用可能な要素 (初期状態のバーはこれらの要素を持ちません):
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| 要素 | 例 | 説明 | 要素 | 例 | 説明
| buffer_count | `10` | 開いているバッファの総数 | spell_dict | `fr,en` | 現在のバッファにおけるスペリング辞書
// TRANSLATION MISSING | spell_suggest | `print,prone,prune` | カーソル下の単語に対するスペリング候補 (スペルが間違っている場合)
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`). | buffer_count | `10` | 開いているバッファの総数
// TRANSLATION MISSING | buffer_short_name | `#test` | 現在のバッファの短い名前
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist. | irc_channel | `#test` | 現在の IRC チャンネル名
// TRANSLATION MISSING | irc_nick_modes | `@` | 自分のニックネームに対する IRC モード
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist. | mouse_status | `M` | マウスの状態 (マウスが無効化されている場合は空文字列)
| buffer_short_name | `#test` | 現在のバッファの短い名前 | window_number | `2` | 現在のウィンドウ番号
// TRANSLATION MISSING
| buflist2 | `1.weechat` | List of buffers, second bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
// TRANSLATION MISSING
| buflist3 | `1.weechat` | List of buffers, third bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
// TRANSLATION MISSING
| fset | `+buflist.look.sort: …+` | Help on currently selected option on fset buffer.
| irc_channel | `#test` | 現在の IRC チャンネル名
// TRANSLATION MISSING
| irc_host | `+user@host.com+` | Current IRC host.
// TRANSLATION MISSING
| irc_nick | `+Flashy+` | Current IRC nick.
// TRANSLATION MISSING
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
| irc_nick_modes | `i` | 自分のニックネームに対する IRC モード
// TRANSLATION MISSING
| irc_nick_prefix | `@` | IRC nick prefix on channel.
| mouse_status | `M` | マウスの状態 (マウスが無効化されている場合は空文字列)
| spell_dict | `fr,en` | 現在のバッファにおけるスペリング辞書
| spell_suggest | `print,prone,prune` | カーソル下の単語に対するスペリング候補 (スペルが間違っている場合)
| window_number | `2` | 現在のウィンドウ番号
|=== |===
[[command_line]] [[command_line]]
@@ -2276,26 +2244,11 @@ _sec.conf_
/secure passphrase this is my passphrase /secure passphrase this is my passphrase
---- ----
// TRANSLATION MISSING パスフレーズを設定した場合、WeeChat
===== Passphrase on startup の起動時にパスフレーズの入力が求められるようになります (`/upgrade` 時には求められません)。
When a passphrase is set, WeeChat will ask you to enter it on startup この挙動を変更し、パスフレーズを保存したファイルを使うことも可能です
(but not on `/upgrade`). (<<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>> オプションを参照してください)。
If you are using a password manager, you can run an external program to read
the passphrase instead of having to type it manually on WeeChat startup. +
For example with password-store (command `pass`):
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
The program may ask you unlock your GPG key or enter another passphrase to
read the secret. WeeChat will wait for the end of the command to read the
passphrase on the standard output (it must be on the first line without any
extra character). +
If the output contains no passphrase or if it is wrong, WeeChat will then ask
you to enter it.
[[secured_data_encryption]] [[secured_data_encryption]]
===== 暗号化 ===== 暗号化
@@ -20,8 +20,6 @@
| irc | irc_is_channel | 1 jeśli ciąg jest poprawną nazwą kanału IRC dla serwera | serwer,kanał (serwer jest opcjonalny) | irc | irc_is_channel | 1 jeśli ciąg jest poprawną nazwą kanału IRC dla serwera | serwer,kanał (serwer jest opcjonalny)
| irc | irc_is_message_ignored | 1 jeśli nick jest ignorowany (wiadomość nie jest wyświetlana) | serwer,wiadomość (wiadomość to nieprzetworzona wiadomość IRC)
| irc | irc_is_nick | 1 jeśli ciąg jest poprawną nazwą użytkownika IRC | serwer,nick (serwer jest opcjonalny) | irc | irc_is_nick | 1 jeśli ciąg jest poprawną nazwą użytkownika IRC | serwer,nick (serwer jest opcjonalny)
| irc | irc_nick | pobiera aktualny nick z serwera | nazwa serwera | irc | irc_nick | pobiera aktualny nick z serwera | nazwa serwera
@@ -14,7 +14,5 @@
| weechat | focus_info | pobierz informacje o focusie | "x": współrzędne w osi x (ciąg z liczbą >= 0), "y": y współrzędne w osi y (ciąg z liczbą >= 0) | zobacz funkcję „hook_focus” w opisie API wtyczek | weechat | focus_info | pobierz informacje o focusie | "x": współrzędne w osi x (ciąg z liczbą >= 0), "y": y współrzędne w osi y (ciąg z liczbą >= 0) | zobacz funkcję „hook_focus” w opisie API wtyczek
| weechat | secured_data | zabezpieczone dane | - | zabezpieczone dane: nazwy i wartości (uważaj: to są wrażliwe dane: NIE wyświetlaj/zapisuj ich nigdzie)
|=== |===
// end::infos_hashtable[] // end::infos_hashtable[]
+21 -25
View File
@@ -1340,27 +1340,26 @@ W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w
"50" > "100" ==> 1 "50" > "100" ==> 1
Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być: Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
1. nieprzetworzony ciąg (format: "raw:xxx") 1. przetworzony ciąg (format: "eval:xxx")
2. przetworzony ciąg (format: "eval:xxx") 2. przetworzone wyrażenie (format: "eval_cond:xxx")
3. przetworzony warunek (format: "eval_cond:xxx") 3. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
4. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx") 4. ciąg ze znakami do ukrycia (format: "hide:char,string")
5. ciąg ze znakami do ukrycia (format: "hide:char,string") 5. ciąg o maksymalnej długości (format: "cut:max,suffix,string" lub "cut:+max,suffix,string")
6. ciąg o maksymalnej długości (format: "cut:max,suffix,string" lub "cut:+max,suffix,string")
lub maksymalna ilość znaków wyświetlanych na ekranie (format: "cutscr:max,suffix,string" lub "cutscr:+max,suffix,string") lub maksymalna ilość znaków wyświetlanych na ekranie (format: "cutscr:max,suffix,string" lub "cutscr:+max,suffix,string")
7. odwrócony ciąg (format: "rev:xxx") 6. odwrócony ciąg (format: "rev:xxx")
8. powtórzony ciąg (format: "repeat:ilość,ciąg") 7. powtórzony ciąg (format: "repeat:ilość,ciąg")
9. długość ciągu (format: "length:xxx" or "lengthscr:xxx") 8. długość ciągu (format: "length:xxx" or "lengthscr:xxx")
10. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color") 9. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color")
11. modyfikator (format: "modifier:name,data,string") 10. modyfikator (format: "modifier:name,data,string")
12. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne) 11. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
13. ciąg zakodowany/zdekodowany z base 16/32/64 (format: "base_encode:base,xxx" lub "base_decode:base,xxx") 12. ciąg zakodowany/zdekodowany z base 16/32/64 (format: "base_encode:base,xxx" lub "base_decode:base,xxx")
14. obecna data/czas (format: "date" lub "date:format") 13. obecna data/czas (format: "date" lub "date:format")
15. zmienna środowiskowa (format: "env:XXX") 14. zmienna środowiskowa (format: "env:XXX")
16. wyrażenie warunkowe (format: "if:condition?value_if_true:value_if_false") 15. wyrażenie warunkowe (format: "if:condition?value_if_true:value_if_false")
17. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "calc:xxx") 16. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "calc:xxx")
18. opcja (format: plik.sekcja.opcja) 17. opcja (format: plik.sekcja.opcja)
19. zmienna lokalna w buforze 18 zmienna lokalna w buforze
20. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie „window” i „buffer” wskazują na aktualne okno/bufor. 19. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie „window” i „buffer” wskazują na aktualne okno/bufor.
Format dla hdata może być jednym z poniższych: Format dla hdata może być jednym z poniższych:
hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne) hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład: hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
@@ -1368,10 +1367,9 @@ Format dla hdata może być jednym z poniższych:
${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek ${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
hdata[wskaźnik].zmienna1.zmienna2...: zacznij z hdata używając wskaźnika, na przykład: hdata[wskaźnik].zmienna1.zmienna2...: zacznij z hdata używając wskaźnika, na przykład:
${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem (może zostać użyte w triggerach) ${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem (może zostać użyte w triggerach)
Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja "weechat_hdata_get". Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja "weechat_hdata_get".
Przykłady (proste ciągi): Przykłady (proste ciągi):
/eval -n ${raw:${info:version}} ==> ${info:version}
/eval -n ${eval_cond:${window.win_width}>100} ==> 1 /eval -n ${eval_cond:${window.win_width}>100} ==> 1
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user /eval -n ${env:HOME} ==> /home/user
@@ -1872,7 +1870,7 @@ Kombinacje klawiszy w bezpiecznym buforze:
alt+v przełącza wartości alt+v przełącza wartości
Jeśli używane jest hasło (dane zaszyfrowane), należy je podać podczas startu WeeChat. Jeśli używane jest hasło (dane zaszyfrowane), należy je podać podczas startu WeeChat.
Jest możliwe ustawienie zmiennej środowiskowej "WEECHAT_PASSPHRASE", aby nie podawać hasła przy uruchomieniu (ta sama zmienna jest używana przez WeeChat podczas wykonywania /upgrade), lub ustawienie opcji sec.crypt.passphrase_command żeby odczytać hasło z wyjścia zewnętrznego polecenia jak managera haseł (zobacz /help sec.crypt.passphrase_command). Jest możliwe ustawienie zmiennej środowiskowej "WEECHAT_PASSPHRASE", aby nie podawać hasła przy uruchomieniu (ta sama zmienna jest używana przez WeeChat podczas wykonywania /upgrade).
Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w: Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w:
- komendzie /eval - komendzie /eval
@@ -1883,8 +1881,6 @@ Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w:
Przykłady: Przykłady:
ustawienie hasła: ustawienie hasła:
/secure passphrase to jest moje hasło /secure passphrase to jest moje hasło
użyj programu "pass" do odczytania hasła przy uruchomieniu:
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
zaszyfrowanie hasła dla freenode SASL: zaszyfrowanie hasła dla freenode SASL:
/secure set freenode mojehasło /secure set freenode mojehasło
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
+3 -21
View File
@@ -16,8 +16,8 @@
** wartości: sha224, sha256, sha384, sha512 ** wartości: sha224, sha256, sha384, sha512
** domyślna wartość: `+sha256+` ** domyślna wartość: `+sha256+`
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** opis: pass:none[czyta hasło z wyjścia komendy systemowej (tylko pierwsza linia jest używana i nie może zawierać żadnych dodatkowych znaków); ta opcja jest używana tylko podczas odczytu pliku sec.conf i jeśli zmienna środowiskowa "WEECHAT_PASSPHRASE" nie jest ustawiona (zmienna środowiskowa ma wyższy priorytet); przykład z magazynem haseł: "pass show weechat/passphrase"] ** opis: pass:none[ścieżka do pliku zawierającego hasło do szyfrowania/rozszyfrowywania zabezpieczonych danych; opcja ta jest używana tylko podczas odczytu pliku sec.conf; używana jest tylko pierwsza linia z tego pliku; plik jest używany tylko jeśli zmienna środowiskowa "WEECHAT_PASSPHRASE" nie została ustawiona (zmienna środowiskowa ma najwyższy priorytet); uwaga bezpieczeństwa: zaleca się trzymanie tego pliku poza katalogiem domowym WeeChat (np. w katalogu domowym) i nadanie mu praw do odczytu tylko przez siebie; przykład: "~/.weechat-passphrase"]
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+""+` ** domyślna wartość: `+""+`
@@ -846,12 +846,6 @@
** wartości: on, off ** wartości: on, off
** domyślna wartość: `+on+` ** domyślna wartość: `+on+`
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
** opis: pass:none[aktualizuj hotlistę podczas przełączania buforów]
** typ: bool
** wartości: on, off
** domyślna wartość: `+on+`
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll* * [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** opis: pass:none[ilość znaków wyświetlanych po końcu linii wejściowej, kiedy przewijamy do wyświetlenia końca linii] ** opis: pass:none[ilość znaków wyświetlanych po końcu linii wejściowej, kiedy przewijamy do wyświetlenia końca linii]
** typ: liczba ** typ: liczba
@@ -1146,12 +1140,6 @@
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+"- "+` ** domyślna wartość: `+"- "+`
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
** opis: pass:none[aktualizuj wskaźnik przeczytania podczas przełączania buforów]
** typ: bool
** wartości: on, off
** domyślna wartość: `+on+`
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit* * [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
** opis: pass:none[zapisz plik konfiguracyjny przy wyjściu] ** opis: pass:none[zapisz plik konfiguracyjny przy wyjściu]
** typ: bool ** typ: bool
@@ -1781,12 +1769,6 @@
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+"number,-active"+` ** domyślna wartość: `+"number,-active"+`
* [[option_buflist.look.use_items]] *buflist.look.use_items*
** opis: pass:none[ilość elementów „buflist” na pasku, które mogą zostać użyte; nazwy tych elementów to: "buflist", "buflist2", "buflist3"; używanie więcej niż jednego elementu paska spowalnia wyświetlanie listy buforów]
** typ: liczba
** wartości: 1 .. 3
** domyślna wartość: `+1+`
// end::buflist_options[] // end::buflist_options[]
// tag::fifo_options[] // tag::fifo_options[]
@@ -2635,7 +2617,7 @@
** domyślna wartość: `+60+` ** domyślna wartość: `+60+`
* [[option_irc.server_default.default_chantypes]] *irc.server_default.default_chantypes* * [[option_irc.server_default.default_chantypes]] *irc.server_default.default_chantypes*
** opis: pass:none[prefiks typu kanału jeśli serwer nie wyśle jego w wiadomości 005 (domyślnie „#&)] ** opis: pass:none[channel type prefixes to use if the server does not send them in message 005 (default is "#&")]
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+"#&"+` ** domyślna wartość: `+"#&"+`
+53 -86
View File
@@ -95,21 +95,39 @@ Na macOS możesz użyć https://brew.sh/[Homebrew]:
[[dependencies]] [[dependencies]]
==== Zależności ==== Zależności
Poniższa tabela zawiera listę *wymaganych* zależności do skompilowania Poniższa tabela przedstawia pakiety wymagane i opcjonalne do skompilowania
WeeChat: WeeChat.
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="6,^3,^3,.^13",options="header"]
|=== |===
| Pakiet ^(1)^ | Wersja | Opis | Pakiet ^(1)^ | Wersja | Wymagany | Opis
| kompilator C | kompilator C
(gcc, clang, ...) | | Kompilacja. (gcc, clang, ...) | | *tak* | Kompilacja.
| cmake | ≥ 3.0 | Kompilacja (możliwe jest użycie autotools, jednak CMake jest zalecany). | kompilator C++ | | | Kompilacja i uruchamianie testów, wtyczka JavaScript.
| pkg-config | | Wykrywa zainstalowane biblioteki. | cmake | ≥ 3.0 | *tak* | Kompilacja (możliwe jest użycie autotools, jednak CMake jest zalecany).
| libncursesw5-dev ^(2)^ | | Interfejs ncurses. | pkg-config | | *tak* | Wykrywa zainstalowane biblioteki.
| libcurl4-gnutls-dev | | Transfer URL. | libncursesw5-dev ^(2)^ | | *tak* | Interfejs ncurses.
| zlib1g-dev | | Kompresja pakietów we wtyczce relay (protokół weechat), wtyczka script. | libcurl4-gnutls-dev | | *tak* | Transfer URL.
| libgcrypt20-dev | | Zabezpieczone dane, uwierzytelnianie IRC SASL (DH-BLOWFISH/DH-AES). | zlib1g-dev | | *tak* | Kompresja pakietów we wtyczce relay (protokół weechat), wtyczka script.
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | Połączenia SSL z serwerami IRC, wsparcie dla SSL we wtyczce relay, uwierzytelnianie IRC SASL (ECDSA-NIST256P-CHALLENGE). | libgcrypt20-dev | | *tak* | Zabezpieczone dane, uwierzytelnianie IRC SASL (DH-BLOWFISH/DH-AES).
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | *tak* | Połączenia SSL z serwerami IRC, wsparcie dla SSL we wtyczce relay, uwierzytelnianie IRC SASL (ECDSA-NIST256P-CHALLENGE).
| gettext | | | Internacjonalizacja (tłumaczenie wiadomości; język bazowy to Angielski).
| ca-certificates | | | Certyfikaty dla połączeń SSL.
| libaspell-dev
∥ libenchant-dev | | | Wtyczka spell.
| python3-dev | ^(4)^ | | Wtyczka python.
| libperl-dev | | | Wtyczka perl.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | | Wtyczka ruby.
| liblua5.3-dev | | | Wtyczka lua.
| tcl-dev | ≥ 8.5 | | Wtyczka tcl.
| guile-2.0-dev | ≥ 2.0 | | Wtyczka guile (scheme).
| libv8-dev | ≤ 3.24.3 | | Wtyczka javascript.
| php-dev, libphp-embed | ≥ 7.0 | | Wtyczka PHP.
| libxml2-dev | | | Wtyczka PHP.
| libargon2-0-dev | | | Wtyczka PHP (jeśli PHP ≥ 7.2).
| libsodium-dev | | | Wtyczka PHP (jeśli PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | | Tworzenie strony man i dokumentacji.
| libcpputest-dev | ≥ 3.4 | | Kompilacja i uruchamianie testów.
|=== |===
[NOTE] [NOTE]
@@ -119,36 +137,8 @@ mogą być inne w innych dystrybucjach. +
WeeChat można skompilowac używając libncurses5-dev, ale *NIE* jest to zalecane: WeeChat można skompilowac używając libncurses5-dev, ale *NIE* jest to zalecane:
możesz doświadczyć błędów wyświetlania. + możesz doświadczyć błędów wyświetlania. +
^(3)^ GnuTLS ≥ 3.0.21 jest wymagany dla uwierzytelnienia IRC SASL za pomocą ^(3)^ GnuTLS ≥ 3.0.21 jest wymagany dla uwierzytelnienia IRC SASL za pomocą
mechanizmu ECDSA-NIST256P-CHALLENGE. mechanizmu ECDSA-NIST256P-CHALLENGE. +
^(4)^ Domyślnie używany jest Pythin 3.x. Chyba że włączysz opcję `+ENABLE_PYTHON2+`
The following table shows the list of packages that are optional to compile
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
| Pakiet | Wersja | Opis
| kompilator C++ | | Kompilacja i uruchamianie testów, wtyczka JavaScript.
| gettext | | Internacjonalizacja (tłumaczenie wiadomości; język bazowy to Angielski).
| ca-certificates | | Certyfikaty dla połączeń SSL.
| libaspell-dev
∥ libenchant-dev | | Wtyczka spell.
| python3-dev ^(1)^ | | Wtyczka python.
| libperl-dev | | Wtyczka perl.
| ruby2.5, ruby2.5-dev | ≥ 1.9.1 | Wtyczka ruby.
| liblua5.3-dev | | Wtyczka lua.
| tcl-dev | ≥ 8.5 | Wtyczka tcl.
| guile-2.0-dev | ≥ 2.0 | Wtyczka guile (scheme).
| libv8-dev | ≤ 3.24.3 | Wtyczka javascript.
| php-dev, libphp-embed | ≥ 7.0 | Wtyczka PHP.
| libxml2-dev | | Wtyczka PHP.
| libargon2-0-dev | | Wtyczka PHP (jeśli PHP ≥ 7.2).
| libsodium-dev | | Wtyczka PHP (jeśli PHP ≥ 7.2).
| asciidoctor | ≥ 1.5.4 | Tworzenie strony man i dokumentacji.
| libcpputest-dev | ≥ 3.4 | Kompilacja i uruchamianie testów.
|===
[NOTE]
^(1)^ Domyślnie używany jest Pythin 3.x. Chyba że włączysz opcję `+ENABLE_PYTHON2+`
(zobacz niżej), zaleca się uzywania wersji 2.7 Pythona. (zobacz niżej), zaleca się uzywania wersji 2.7 Pythona.
Jeśli używasz dystrybujci bazującej na Debianie/Ubuntu, oraz jeśli posiadasz wpisy Jeśli używasz dystrybujci bazującej na Debianie/Ubuntu, oraz jeśli posiadasz wpisy
@@ -565,7 +555,8 @@ Niektóre zmienne śwodowiskowe są używane przez WeeChat o ile zostały zdefin
=== Pliki i foldery === Pliki i foldery
WeeChat zapisuje pliki konfiguracyjne i inne rzeczy domyślnie w folderze `~/.weechat`. + WeeChat zapisuje pliki konfiguracyjne i inne rzeczy domyślnie w folderze `~/.weechat`. +
Pliki te są tworzone z domyślnymi wartościami przy pierwszym uruchomieniu WeeChat. // TRANSLATION MISSING
These files are created with default values the first time you run WeeChat.
[[weechat_directories]] [[weechat_directories]]
==== Katalogi WeeChat ==== Katalogi WeeChat
@@ -691,7 +682,7 @@ Ekran składa się z następujących obszarów:
Pasek _buflist_ posiada następujące domyślne elementy: Pasek _buflist_ posiada następujące domyślne elementy:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Element | Przykład | Opis | Element | Przykład | Opis
| buflist | `1.weechat` | Lista buforów. | buflist | `1.weechat` | Lista buforów.
@@ -699,7 +690,7 @@ Pasek _buflist_ posiada następujące domyślne elementy:
Pasek _title_ posiada następujące domyślne elementy: Pasek _title_ posiada następujące domyślne elementy:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Element | Przykład | Opis | Element | Przykład | Opis
| buffer_title | `Witaj na #test` | Tytuł buforu. | buffer_title | `Witaj na #test` | Tytuł buforu.
@@ -707,7 +698,7 @@ Pasek _title_ posiada następujące domyślne elementy:
Pasek _status_ posiada następujące domyślne elementy: Pasek _status_ posiada następujące domyślne elementy:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Element | Przykład | Opis | Element | Przykład | Opis
| time | `[12:55]` | Czas. | time | `[12:55]` | Czas.
@@ -727,7 +718,7 @@ Pasek _status_ posiada następujące domyślne elementy:
Pasek _input_ posiada następujące domyślne elementy: Pasek _input_ posiada następujące domyślne elementy:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Element | Przykład | Opis | Element | Przykład | Opis
| input_prompt | `[@Flashy(i)]` | Input prompt, dla irc: nick i tryby (tryb "+i" oznacza niewidzialny na freenode). | input_prompt | `[@Flashy(i)]` | Input prompt, dla irc: nick i tryby (tryb "+i" oznacza niewidzialny na freenode).
@@ -739,7 +730,7 @@ Pasek _input_ posiada następujące domyślne elementy:
Pasek _nicklist_ posiada następujące domyślne elementy: Pasek _nicklist_ posiada następujące domyślne elementy:
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Element | Przykład | Opis | Element | Przykład | Opis
| buffer_nicklist | `@Flashy` | Lita nicków w obecnym buforze. | buffer_nicklist | `@Flashy` | Lita nicków w obecnym buforze.
@@ -747,27 +738,17 @@ Pasek _nicklist_ posiada następujące domyślne elementy:
Inne dostępne elementy (nie używane domyślnie w paskach): Inne dostępne elementy (nie używane domyślnie w paskach):
[width="100%",cols="^3,^3,9",options="header"] [width="100%",cols="^3,^4,10",options="header"]
|=== |===
| Element | Przykład | Opis | Element | Przykład | Opis
| buffer_count | `10` | Liczba otwartych buforów. | spell_dict | `fr,en` | Słowniki używane w obecnym buforze.
| buffer_last_number | `10` | Liczba najnowszych buforów (może się różnić od `buffer_count` jeśli opcja <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> jest ustawiona na `off`). | spell_suggest | `print,prone,prune` | Sugestie dla słowa pod kursorem (jeśli zawiera błąd).
| buffer_nicklist_count_all | `4` | Liczba widocznych grup i nicków na nickliście. | buffer_count | `10` | Liczba otwartych buforów.
| buffer_nicklist_count_groups | `0` | Liczba widocznych grup na nickliście. | buffer_short_name | `#test` | Skrócona nazwa obecnego buforu.
| buffer_short_name | `#test` | Skrócona nazwa obecnego buforu. | irc_channel | `#test` | Nazwa bieżącego kanału IRC.
| buflist2 | `1.weechat` | Lista buforów, drugi element paska (zobacz opcję <<option_buflist.look.use_items,buflist.look.use_items>>). | irc_nick_modes | `@` | Atrybuty IRC dla własnego nicka.
| buflist3 | `1.weechat` | Lista buforów, trzeci element paska (zobac opcję <<option_buflist.look.use_items,buflist.look.use_items>>). | mouse_status | `M` | Status obsługi myszy (pusty jeśli obsługa myszy jest wyłączona).
| fset | `+buflist.look.sort: …+` | Pomoc dla obecnie wybranej opcji w buforze fset. | window_number | `2` | Numer obecnego okna.
| irc_channel | `#test` | Nazwa bieżącego kanału IRC.
| irc_host | `+user@host.com+` | Aktualny host IRC.
| irc_nick | `+Flashy+` | Aktualny nick IRC.
| irc_nick_host | `+Flashy!user@host.com+` | Aktualny nick i host IRC.
| irc_nick_modes | `i` | Atrybuty IRC dla własnego nicka.
| irc_nick_prefix | `@` | Prefiks nicku na kanale IRC.
| mouse_status | `M` | Status obsługi myszy (pusty jeśli obsługa myszy jest wyłączona).
| spell_dict | `fr,en` | Słowniki używane w obecnym buforze.
| spell_suggest | `print,prone,prune` | Sugestie dla słowa pod kursorem (jeśli zawiera błąd).
| window_number | `2` | Numer obecnego okna.
|=== |===
[[command_line]] [[command_line]]
@@ -2232,25 +2213,11 @@ zwykły tekst.
/secure passphrase to jest moje hasło /secure passphrase to jest moje hasło
---- ----
===== Hasło przy uruchomieniu Kiedy hasło jest ustawione, WeeChat poprosi o jego podanie przy uruchomieniu
(ale nie podczas `upgrade`).
Kiedy ustawione jest hasło WeeChat poprosi o nie podczas uruchomieina Możesz zmienić to zachowanie i użyć pliku z zapisanym hasłem (zobacz opcję
(ale nie podczas `/upgrade`). <<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>>).
Jeśli używasz managera haseł, możesz uruchomić zewnętrzny program do
odczytania hasła bez konieczności wprowadzania go ręcznie przy utuchomieniu WeeChat. +
Na przykład dla password-store (komenda `pass`):
----
/set sec.crypt.passphrase_command "pass show weechat/passphrase"
----
Program może poprosić o odblokowanie klucza GPG lub wprowadzenie innego hasła,
aby odczytać sekret. WeeChat poczeka do zakończenia komendy i odczyta hasło
ze standardowego wyjścia (musi to być w pierwszej linii bez żadnych dodatkowych
znaków). +
Jeśli wyjście programu nie zawiera hasla lub jest ono błęde, WeeChat poprosi
i jego wprowadzenie.
[[secured_data_encryption]] [[secured_data_encryption]]
===== Szyfrowanie ===== Szyfrowanie
+62 -67
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n" "Language: cs\n"
@@ -915,12 +915,6 @@ msgstr "Heslo změněno"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Heslo přidáno" msgstr "Heslo přidáno"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "Chráněná data \"%s\" nastavena" msgstr "Chráněná data \"%s\" nastavena"
@@ -1604,33 +1598,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1649,7 +1642,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2440,9 +2432,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2455,8 +2446,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3405,9 +3394,6 @@ msgstr ""
"zobrazovat pouze jedinečné čísla v hotlistu (platí pouze pro položky " "zobrazovat pouze jedinečné čísla v hotlistu (platí pouze pro položky "
"hotlistu, které NEMAJÍ zobrazené jméno za číslem)" "hotlistu, které NEMAJÍ zobrazené jméno za číslem)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -3679,9 +3665,6 @@ msgstr ""
"řetězec použitý pro vykreslení značky nepřečtených zpráv (řetězec je " "řetězec použitý pro vykreslení značky nepřečtených zpráv (řetězec je "
"opakován až do konce řádky)" "opakován až do konce řádky)"
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "uložit soubor s nastavením při ukončení" msgstr "uložit soubor s nastavením při ukončení"
@@ -4336,15 +4319,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "heslo pro proxy server(pozn.: obsah je vykonán, viz /help eval)" msgstr "heslo pro proxy server(pozn.: obsah je vykonán, viz /help eval)"
#, fuzzy
msgid "secured data"
msgstr "Chráněná data:"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "Chráněná data WeeChatu (sec.conf) | Klávesy: [alt-v] Přepnou hodnoty" msgstr "Chráněná data WeeChatu (sec.conf) | Klávesy: [alt-v] Přepnou hodnoty"
@@ -4384,6 +4358,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, fuzzy, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%s%s: nemůžu parsovat soubor \"%s\""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -4417,11 +4395,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "hash algoritmus použitý ke kontrole dešifrovaných dat" msgstr "hash algoritmus použitý ke kontrole dešifrovaných dat"
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5117,12 +5097,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -8965,12 +8939,6 @@ msgstr "server,vlasnost"
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "hodnota funkce, pokud je podporována serverem (z IRC zprávy 005)" msgstr "hodnota funkce, pokud je podporována serverem (z IRC zprávy 005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "rozdělit IRC zprávu" msgstr "rozdělit IRC zprávu"
@@ -13235,6 +13203,33 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)" msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)"
#~ msgid "%sError: unknown bar \"%s\""
#~ msgstr "%sChyba: neznámé pole \"%s\""
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sChyba: nekorektní číslo bufferu"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sChyba: bufer nenalezen"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sChyba: filtr \"%s\" nenalezen"
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sChyba: neznámé rozložení \"%s\""
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sChyba: neznámá proxy \"%s\""
#~ msgid "%sError: incorrect number"
#~ msgstr "%sChyba: nekorektní číslo"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sChyba: selhalo nastavení volby \"%s\""
#, fuzzy #, fuzzy
#~ msgid "secured data: names and values" #~ msgid "%sError: incorrect window number"
#~ msgstr "Chráněná data \"%s\" smazána" #~ msgstr "%sChyba: nekorektní číslo bufferu"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sChyba: plugin \"%s\" nenalezen"
+94 -113
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-26 13:50+0100\n" "PO-Revision-Date: 2021-01-05 09:14+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n" "Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n" "Language: de\n"
@@ -960,16 +960,6 @@ msgstr "Passphrase geändert"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Passphrase hinzugefügt" msgstr "Passphrase hinzugefügt"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
"Wichtig: Ein externes Programm ist so konfiguriert, dass die Passphrase beim "
"Start gelesen wird (Option sec.crypt.passphrase_command). Sie müssen "
"sicherstellen, dass dieses Programm die neue Passphrase zurückgibt, die Sie "
"gerade definiert haben"
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "Schutzwürdige Information \"%s\" gesetzt" msgstr "Schutzwürdige Information \"%s\" gesetzt"
@@ -1748,33 +1738,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1793,7 +1782,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -1883,38 +1871,37 @@ msgstr ""
"\n" "\n"
"Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} " "Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} "
"ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:\n" "ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:\n"
" 1. die Zeichenfolge selbst ohne Auswertung (Format: \"raw:xxx\")\\n\n" " 1. eine evaluierte Teilzeichenkette (Format: \"eval:xxx\")\n"
" 2. eine evaluierte Teilzeichenkette (Format: \"eval:xxx\")\n" " 2. eine evaluierte Bedingung (Format: \"eval_cond:xxx\")\n"
" 3. eine evaluierte Bedingung (Format: \"eval_cond:xxx\")\n" " 3. eine Zeichenkette mit Escapesequenzen (Format: \"esc:xxx\" oder \"\\xxx"
" 4. eine Zeichenkette mit Escapesequenzen (Format: \"esc:xxx\" oder \"\\xxx"
"\")\n" "\")\n"
" 5. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen " " 4. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen "
"(Format: \"hide:Zeichen,Zeichenkette\")\n" "(Format: \"hide:Zeichen,Zeichenkette\")\n"
" 6. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: \"cut:" " 5. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: \"cut:"
"+Max,Suffix,Zeichenkette\")\n" "+Max,Suffix,Zeichenkette\")\n"
" oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden " " oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden "
"sollen (Format: \"cutscr:Max,Suffix,Zeichenkette oder \"cutscr:+Max,Suffix," "sollen (Format: \"cutscr:Max,Suffix,Zeichenkette oder \"cutscr:+Max,Suffix,"
"Zeichenkette\")\n" "Zeichenkette\")\n"
" 7. eine Zeichenkette umkehren (Format: \"rev:xxx\" oder \"revscr:xxx\")\n" " 6. eine Zeichenkette umkehren (Format: \"rev:xxx\" oder \"revscr:xxx\")\n"
" 8. eine Zeichenkette wiederholen (Format: \"repeat:Anzahl,Zeichenkette\")\n" " 7. eine Zeichenkette wiederholen (Format: \"repeat:Anzahl,Zeichenkette\")\n"
" 9. Länge einer Zeichenkette (Format: \"length:xxx\" oder \"lengthscr:xxx" " 8. Länge einer Zeichenkette (Format: \"length:xxx\" oder \"lengthscr:xxx"
"\")\n" "\")\n"
" 10. eine Farbe (Format: \"color:xxx\", siehe \"Anleitung für API " " 9. eine Farbe (Format: \"color:xxx\", siehe \"Anleitung für API Erweiterung"
"Erweiterung\", Funktion \"color\")\n" "\", Funktion \"color\")\n"
" 11. ein Modifizierer (Format: \"info:Name,Argumente\", Argumente sind " " 10. ein Modifizierer (Format: \"info:Name,Argumente\", Argumente sind "
"optional)\n" "optional)\n"
" 12. eine Info (Format: \"Info:Name,Argumente\", Argumente sind optional)\n" " 11. eine Info (Format: \"Info:Name,Argumente\", Argumente sind optional)\n"
" 13. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: " " 12. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "
"\"base_encode:base,xxx\" oder \"base_decode:base,xxx\")\n" "\"base_encode:base,xxx\" oder \"base_decode:base,xxx\")\n"
" 14. aktuelles Datum/Uhrzeit (Format: \"date\" oder \"date:format\")\n" " 13. aktuelles Datum/Uhrzeit (Format: \"date\" oder \"date:format\")\n"
" 15. eine Umgebungsvariable (Format: \"env:XXX\")\n" " 14. eine Umgebungsvariable (Format: \"env:XXX\")\n"
" 16. ein Dreifachoperand (Format: \"if:Bedingung?Wert_falls_wahr:" " 15. ein Dreifachoperand (Format: \"if:Bedingung?Wert_falls_wahr:"
"Wert_falls_unwahr\")\n" "Wert_falls_unwahr\")\n"
" 17. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** " " 16. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** "
"(Format: \"calc:xxx\")\n" "(Format: \"calc:xxx\")\n"
" 18. eine Option (Format: \"file.section.option\")\n" " 17. eine Option (Format: \"file.section.option\")\n"
" 19. eine lokale Variable eines Buffers\n" " 18. eine lokale Variable eines Buffers\n"
" 20. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine " " 19. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine "
"Zeichenkette konvertiert), standardmäßig wird für \"window\" und \"buffer\" " "Zeichenkette konvertiert), standardmäßig wird für \"window\" und \"buffer\" "
"das aktuelle Fenster/Buffer verwendet.\n" "das aktuelle 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"
@@ -1934,7 +1921,6 @@ 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 ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2940,9 +2926,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2955,8 +2940,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -2989,9 +2972,8 @@ msgstr ""
"Setzt man die Umgebungsvariable \"WEECHAT_PASSPHRASE\", kann die " "Setzt man die Umgebungsvariable \"WEECHAT_PASSPHRASE\", kann die "
"Eingabeaufforderung der Passphrase beim Programmstart vermieden werden " "Eingabeaufforderung der Passphrase beim Programmstart vermieden werden "
"(diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch " "(diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch "
"möglich mittels der Option sec.crypt.passphrase_command die Passphrase aus " "möglich in der Option sec.crypt.passphrase_file eine Datei anzugeben die die "
"der Ausgabe eines externen Befehls, wie eines Passwort-Managers zu lesen " "Passphrase beinhaltet (siehe /help sec.crypt.passphrase_file)\n"
"(siehe /help sec.crypt.passphrase_command )\n"
"\n" "\n"
"schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt " "schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt "
"werden:\n" "werden:\n"
@@ -3005,8 +2987,6 @@ msgstr ""
"Beispiele:\n" "Beispiele:\n"
" festlegen eine Passphrase:\n" " festlegen eine Passphrase:\n"
" /secure passphrase Dies ist meine Passphrase\n" " /secure passphrase Dies ist meine Passphrase\n"
" nutze Programm \"pass\" um die Passphrase beim Start auszulesen:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" verschlüsselt freenode SASL Passwort:\n" " verschlüsselt freenode SASL Passwort:\n"
" /secure set freenode meinPasswort\n" " /secure set freenode meinPasswort\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -4144,9 +4124,6 @@ msgstr ""
"die Nummer des Buffers wird nur einmal in der Hotlist angezeigt (diese " "die Nummer des Buffers wird nur einmal in der Hotlist angezeigt (diese "
"Einstellung kommt nur zum Tragen sofern KEINE Buffernamen angezeigt werden)" "Einstellung kommt nur zum Tragen sofern KEINE Buffernamen angezeigt werden)"
msgid "update the hotlist when switching buffers"
msgstr "Aktualisiert die Hotlist, wenn der Buffer gewechselt wird"
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -4501,9 +4478,6 @@ msgstr ""
"Zeichen, das als Lesezeichen genutzt werden soll (das Zeichen wird bis zum " "Zeichen, das als Lesezeichen genutzt werden soll (das Zeichen wird bis zum "
"Ende der Zeile wiederholt)" "Ende der Zeile wiederholt)"
msgid "update the read marker when switching buffers"
msgstr "Aktualisiert das Lesezeichen, wenn der Buffer gewechselt wird"
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "die aktuelle Konfiguration wird beim Beenden automatisch gesichert" msgstr "die aktuelle Konfiguration wird beim Beenden automatisch gesichert"
@@ -5261,16 +5235,6 @@ msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
"Passwort für Proxy Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)" "Passwort für Proxy Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
msgid "secured data"
msgstr "schutzwürdige Daten"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
"schutzwürdige Daten: Namen und Werte (Vorsicht: Dies sind vertrauliche "
"Daten: drucken oder protokollieren Sie diese NICHT)"
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
"WeeChat schutzwürdigen Daten (sec.conf) | Tastenbefehle: [alt-v] Werte " "WeeChat schutzwürdigen Daten (sec.conf) | Tastenbefehle: [alt-v] Werte "
@@ -5317,6 +5281,10 @@ msgstr ""
"Um die schützenswerten Daten wiederherzustellen kann der Befehl /secure " "Um die schützenswerten Daten wiederherzustellen kann der Befehl /secure "
"decrypt genutzt werden (siehe /help secure)" "decrypt genutzt werden (siehe /help secure)"
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%sWarnung: Passphrase kann nicht aus Datei \"%s\" gelesen werden"
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -5355,18 +5323,23 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "Hash-Algorithmus zur Überprüfung der verschlüsselten Daten" msgstr "Hash-Algorithmus zur Überprüfung der verschlüsselten Daten"
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
"Auslesen der Passphrase aus der Ausgabe des angegebenen Befehls (nur die " "Pfad zu einer Datei die die Passphrase enthält um damit schutzwürdige Daten "
"erste Zeile wird verwendet und darf kein zusätzliches Zeichen enthalten); " "zu ver- und entschlüsseln. Diese Einstellung findet nur Anwendung, wenn die "
"Diese Option wird nur verwendet, wenn die Datei sec.conf gelesen wird und " "Datei sec.conf gelesen wird. Es wird auch nur die erste Zeile eingelesen. "
"wenn die Umgebungsvariable \"WEECHAT_PASSPHRASE\" nicht festgelegt ist (die " "Diese Datei wird nur verwendet, falls die Umgebungsvariable "
"Umgebungsvariable hat eine höhere Priorität); Beispiel mit Passwortspeicher: " "\"WEECHAT_PASSPHRASE\" nicht genutzt wird (die Umgebungsvariable besitzt "
"\"pass show weechat / passphrase\"" "eine höhere Priorität). Sicherheitshinweis: Es ist anzuraten dieser Datei "
"nur für die eigene Person Leserechte zu gewähren und die Datei nicht im "
"Heimatverzeichnis von WeeChat zu sichern (zum Beispiel im /home/ Order); "
"Beispiel: \"~/.weechat-passphrase\""
msgid "" msgid ""
"use salt when generating key used in encryption (recommended for maximum " "use salt when generating key used in encryption (recommended for maximum "
@@ -6222,16 +6195,6 @@ msgstr ""
"Kleinschreibung unterschieden wird (Hinweis: der Inhalt ist evaluiert, nur " "Kleinschreibung unterschieden wird (Hinweis: der Inhalt ist evaluiert, nur "
"der Pointer der bar_item kann genutzt werden, Beispiel \"bar_item.name\")" "der Pointer der bar_item kann genutzt werden, Beispiel \"bar_item.name\")"
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
"Anzahl der Buflist-Bar-Items, die verwendet werden können; die Item-Namen "
"sind: \"buflist\", \"buflist2\", \"buflist3\"; Seien Sie vorsichtig, wenn "
"Sie mehr als ein Bar-Item verwenden, wird die Anzeige der Bufferliste "
"verlangsamt"
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -10081,8 +10044,6 @@ msgid ""
"channel type prefixes to use if the server does not send them in message 005 " "channel type prefixes to use if the server does not send them in message 005 "
"(default is \"#&\")" "(default is \"#&\")"
msgstr "" msgstr ""
"Channel-Typ-Präfix, die verwendet werden sollen, wenn der Server diese nicht "
"in Nachricht 005 sendet (Standard ist \"#&\")"
#, c-format #, c-format
msgid "%s%s: error adding server \"%s\"" msgid "%s%s: error adding server \"%s\""
@@ -10839,12 +10800,6 @@ msgstr ""
"Wert der Funktion, sofern es vom Server unterstützt wird (durch IRC Message " "Wert der Funktion, sofern es vom Server unterstützt wird (durch IRC Message "
"005)" "005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1, wenn der Nick ignoriert wird (Meldung wird nicht angezeigt)"
msgid "server,message (message is the raw IRC message)"
msgstr "Server,Nachricht (Nachricht ist die unverarbeitete IRC Nachricht)"
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "Parse eine IRC Nachricht" msgstr "Parse eine IRC Nachricht"
@@ -13750,7 +13705,7 @@ msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts." "%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled" "download_enabled"
msgstr "" msgstr ""
"%s%s: Das Herunterladen von Skripten ist standardmäßig deaktiviert. siehe /" "%s%s: Das Herunterladen von Skripten ist standardmäßig deaktiviert. siehe / "
"help script.scripts.download_enabled" "help script.scripts.download_enabled"
msgid "WeeChat script manager" msgid "WeeChat script manager"
@@ -15548,6 +15503,32 @@ msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "" msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)" "%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
#, fuzzy #~ msgid "%sError: unknown bar \"%s\""
#~ msgid "secured data: names and values" #~ msgstr "%sFehler: Infobar \"%s\" ist unbekannt"
#~ msgstr "Schutzwürdige Information \"%s\" gelöscht"
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sFehler: unzulässige Nummer für Buffer"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sFehler: Buffer nicht gefunden"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sFehler: Filter \"%s\" nicht gefunden"
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sFehler: Layout\"%s\" nicht bekannt"
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sFehler: unbekannter Proxy \"%s\""
#~ msgid "%sError: incorrect number"
#~ msgstr "%sFehler: fehlerhafte Nummer"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sFehler: Einstellung \"%s\" konnte nicht gesetzt werden"
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sFehler: falsche Nummer für Fenster"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sFehler: die Erweiterung \"%s\" wurde nicht gefunden"
+62 -66
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n" "Language: es\n"
@@ -909,12 +909,6 @@ msgstr ""
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Fecha agregada" msgstr "Fecha agregada"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "" msgstr ""
@@ -1634,33 +1628,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1679,7 +1672,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2549,9 +2541,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2564,8 +2555,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3546,9 +3535,6 @@ msgstr ""
"en los elementos de la lista donde el nombre NO es mostrado después del " "en los elementos de la lista donde el nombre NO es mostrado después del "
"número)" "número)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -3848,9 +3834,6 @@ msgstr ""
"cadena para dibujar el marcador de lectura (la cadena se repite hasta el fin " "cadena para dibujar el marcador de lectura (la cadena se repite hasta el fin "
"de línea)" "de línea)"
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "guardar archivo de configuración al salir" msgstr "guardar archivo de configuración al salir"
@@ -4530,14 +4513,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
msgid "secured data"
msgstr ""
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -4574,6 +4549,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, fuzzy, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%s%s: no es posible analizar el archivo \"%s\""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -4605,11 +4584,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5316,12 +5297,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -9265,12 +9240,6 @@ msgstr ""
"valor de la característica, si es soportada por el servidor (desde el " "valor de la característica, si es soportada por el servidor (desde el "
"mensaje IRC 005)" "mensaje IRC 005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "analiza un mensaje IRC" msgstr "analiza un mensaje IRC"
@@ -13515,6 +13484,33 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: no es posible conectarse al transmisor" msgstr "%s%s: no es posible conectarse al transmisor"
#~ msgid "%sError: unknown bar \"%s\""
#~ msgstr "%sError: barra \"%s\" desconocida"
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sError: número del buffer incorrecto"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sError: buffer no encontrado"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sError: filtro \"%s\" no encontrado"
#, fuzzy #, fuzzy
#~ msgid "secured data: names and values" #~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "Barra eliminada" #~ msgstr "%sError: barra \"%s\" desconocida"
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sError: proxy \"%s\" desconocido"
#~ msgid "%sError: incorrect number"
#~ msgstr "%sError: número incorrecto"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sError: no se pudo configurar la opción \"%s\""
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sError: número de ventana incorrecto"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sError: plugin \"%s\" no encontrado"
+66 -110
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-25 18:41+0100\n" "PO-Revision-Date: 2021-01-30 09:54+0100\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"
@@ -945,16 +945,6 @@ msgstr "Phrase de chiffrement modifiée"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Phrase de chiffrement ajoutée" msgstr "Phrase de chiffrement ajoutée"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
"Important : un programme externe est configuré pour lire la phrase de "
"chiffrement au démarrage (option sec.crypt.passphrase_command) ; vous devez "
"vous assurer que ce programme retourne la phrase de chiffrement que vous "
"venez de définir"
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "Donnée sécurisée \"%s\" définie" msgstr "Donnée sécurisée \"%s\" définie"
@@ -1722,33 +1712,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1767,7 +1756,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -1853,36 +1841,35 @@ msgstr ""
"\n" "\n"
"Des variables sont remplacées dans l'expression, en utilisant le format " "Des variables sont remplacées dans l'expression, en utilisant le format "
"${variable}, la variable pouvant être, par ordre de priorité :\n" "${variable}, la variable pouvant être, par ordre de priorité :\n"
" 1. la chaîne elle-même sans évaluation (format : \"raw:xxx\")\n" " 1. une sous-chaîne évaluée (format : \"eval:xxx\")\n"
" 2. une sous-chaîne évaluée (format : \"eval:xxx\")\n" " 2. une condition évaluée (format : \"eval_cond:xxx\")\n"
" 3. une condition évaluée (format : \"eval_cond:xxx\")\n" " 3. une chaîne avec les caractères échappés (format : \"esc:xxx\" ou \"\\xxx"
" 4. une chaîne avec les caractères échappés (format : \"esc:xxx\" ou \"\\xxx"
"\")\n" "\")\n"
" 5. une chaîne avec des caractères à cacher (format : \"hide:caractère," " 4. une chaîne avec des caractères à cacher (format : \"hide:caractère,"
"chaîne\")\n" "chaîne\")\n"
" 6. une chaîne avec un maximum de caractères (format : \"cut:max,suffixe," " 5. une chaîne avec un maximum de caractères (format : \"cut:max,suffixe,"
"chaîne\" ou \"cut:+max,suffixe,chaîne\")\n" "chaîne\" ou \"cut:+max,suffixe,chaîne\")\n"
" ou un maximum de caractères affichés à l'écran (format : \"cutscr:max," " ou un maximum de caractères affichés à l'écran (format : \"cutscr:max,"
"suffixe,chaîne\" ou \"cutscr:+max,suffixe,chaîne\")\n" "suffixe,chaîne\" ou \"cutscr:+max,suffixe,chaîne\")\n"
" 7. une chaîne inversée (format : \"rev:xxx\" ou \"revscr:xxx\")\n" " 6. une chaîne inversée (format : \"rev:xxx\" ou \"revscr:xxx\")\n"
" 8. une chaîne répétée (format : \"repeat:nombre,chaîne\")\n" " 7. une chaîne répétée (format : \"repeat:nombre,chaîne\")\n"
" 9. longueur d'une chaîne (format : \"length:xxx\" ou \"lengthscr:xxx\")\n" " 8. longueur d'une chaîne (format : \"length:xxx\" ou \"lengthscr:xxx\")\n"
" 10. une couleur (format : \"color:xxx\", voir la \"Référence API extension" " 9. une couleur (format : \"color:xxx\", voir la \"Référence API extension"
"\", fonction \"color\")\n" "\", fonction \"color\")\n"
" 11. un modificateur (format : \"modifier:nom,données,chaîne\")\n" " 10. un modificateur (format : \"modifier:nom,données,chaîne\")\n"
" 12. une info (format : \"info:nom,paramètres\", les paramètres sont " " 11. une info (format : \"info:nom,paramètres\", les paramètres sont "
"optionnels)\n" "optionnels)\n"
" 13. une chaîne encodée/decodée en base 16, 32 ou 64 (format : " " 12. une chaîne encodée/decodée en base 16, 32 ou 64 (format : "
"\"base_encode:base,xxx\" ou \"base_decode:base,xxx\")\n" "\"base_encode:base,xxx\" ou \"base_decode:base,xxx\")\n"
" 14. la date/heure courante (format : \"date\" ou \"date:format\")\n" " 13. la date/heure courante (format : \"date\" ou \"date:format\")\n"
" 15. une variable d'environnement (format : \"env:XXX\")\n" " 14. une variable d'environnement (format : \"env:XXX\")\n"
" 16. un opérateur ternaire (format : \"if:condition?valeur_si_vrai:" " 15. un opérateur ternaire (format : \"if:condition?valeur_si_vrai:"
"valeur_si_faux\")\n" "valeur_si_faux\")\n"
" 17. le résultat d'une expression avec parenthèses et les opérateurs + - " " 16. le résultat d'une expression avec parenthèses et les opérateurs + - "
"* / // % ** (format: \"calc:xxx\")\n" "* / // % ** (format: \"calc:xxx\")\n"
" 18. une option (format : \"fichier.section.option\")\n" " 17. une option (format : \"fichier.section.option\")\n"
" 19. une variable locale du tampon\n" " 18. une variable locale du tampon\n"
" 20. un hdata/variable (la valeur est automatiquement convertie en chaîne), " " 19. 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"
@@ -1903,7 +1890,6 @@ msgstr ""
"fonction \"weechat_hdata_get\".\n" "fonction \"weechat_hdata_get\".\n"
"\n" "\n"
"Exemples (chaînes simples) :\n" "Exemples (chaînes simples) :\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2869,9 +2855,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2884,8 +2869,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -2915,9 +2898,9 @@ msgstr ""
"demandée au démarrage de WeeChat.\n" "demandée au démarrage de WeeChat.\n"
"Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE " "Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE "
"pour éviter la demande (cette même variable est utilisée par WeeChat sur le /" "pour éviter la demande (cette même variable est utilisée par WeeChat sur le /"
"upgrade) ou de définir l'option sec.crypt.passphrase_command pour lire la " "upgrade) ou de définir l'option sec.crypt.passphrase_file pour lire la "
"phrase de chiffrement depuis la sortie d'une commande externe comme un " "phrase de chiffrement depuis un fichier (voir /help sec.crypt."
"coffre-fort à mots de passe (voir /help sec.crypt.passphrase_command).\n" "passphrase_file).\n"
"\n" "\n"
"Les données sécurisées avec le format ${sec.data.xxx} peuvent être utilisées " "Les données sécurisées avec le format ${sec.data.xxx} peuvent être utilisées "
"dans :\n" "dans :\n"
@@ -2931,9 +2914,6 @@ msgstr ""
"Exemples :\n" "Exemples :\n"
" définir une phrase de chiffrement :\n" " définir une phrase de chiffrement :\n"
" /secure passphrase ceci est ma phrase de chiffrement\n" " /secure passphrase ceci est ma phrase de chiffrement\n"
" utiliser le programme \"pass\" pour lire la phrase de chiffrement au "
"démarrage :\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" chiffrer le mot de passe freenode SASL :\n" " chiffrer le mot de passe freenode SASL :\n"
" /secure set freenode motdepasse\n" " /secure set freenode motdepasse\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -4034,9 +4014,6 @@ msgstr ""
"seulement aux éléments de la hotlist où le nom n'est PAS affiché après le " "seulement aux éléments de la hotlist où le nom n'est PAS affiché après le "
"numéro)" "numéro)"
msgid "update the hotlist when switching buffers"
msgstr "mettre à jour la hotlist lors du changement de tampon"
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -4374,10 +4351,6 @@ msgstr ""
"chaîne utilisée pour tracer la ligne de marqueur des données non lues (la " "chaîne utilisée pour tracer la ligne de marqueur des données non lues (la "
"chaîne est répétée jusqu'à la fin de la ligne)" "chaîne est répétée jusqu'à la fin de la ligne)"
msgid "update the read marker when switching buffers"
msgstr ""
"mettre à jour le marqueur de données non lues lors du changement de tampon"
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "sauvegarder la configuration en quittant" msgstr "sauvegarder la configuration en quittant"
@@ -5133,16 +5106,6 @@ msgstr ""
"mot de passe pour le serveur proxy (note : le contenu est évalué, voir /help " "mot de passe pour le serveur proxy (note : le contenu est évalué, voir /help "
"eval)" "eval)"
msgid "secured data"
msgstr "données sécurisées"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
"données sécurisées : noms et valeurs (attention : les valeurs sont des "
"données sensibles : il ne faut PAS les afficher/logger)"
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
"Données sécurisées WeeChat (sec.conf) | Touches : [alt-v] Afficher/cacher " "Données sécurisées WeeChat (sec.conf) | Touches : [alt-v] Afficher/cacher "
@@ -5189,6 +5152,12 @@ msgstr ""
"Pour récupérer vos données sécurisées, vous pouvez utiliser la commande /" "Pour récupérer vos données sécurisées, vous pouvez utiliser la commande /"
"secure decrypt (voir /help secure)" "secure decrypt (voir /help secure)"
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr ""
"%sAttention : impossible de lire la phrase de chiffrement dans le fichier "
"\"%s\""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -5227,18 +5196,23 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "algorithme de hash pour vérifier les données déchiffrées" msgstr "algorithme de hash pour vérifier les données déchiffrées"
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
"lire la phrase de chiffrement depuis la sortie de cette commande système " "chemin vers un fichier contenant la phrase de chiffrement pour (dé)chiffrer "
"(seule la première ligne est utilisée et elle ne doit contenir aucun autre " "les données sécurisées ; cette option est utilisée seulement lors de la "
"caractère) ; cette option est utilisée seulement pour lire le fichier sec." "lecture du fichier sec.conf ; seulement la première ligne du fichier est "
"conf et si la variable d'environnement \"WEECHAT_PASSPHRASE\" n'est pas " "utilisée ; ce fichier est utilisé seulement si la variable d'environnement "
"définie (la variable d'environnement a une priorité plus haute) ; exemple " "\"WEECHAT_PASSPHRASE\" n'est pas définie (la variable d'environnement a une "
"avec password-store : \"pass show weechat/passphrase\"" "priorité plus haute) ; note de sécurité : il est recommandé de garder ce "
"fichier en lecture seulement par vous et de le stocker en dehors du \"home\" "
"WeeChat (par exemple dans votre \"home\") ; exemple : \"~/.weechat-passphrase"
"\""
msgid "" msgid ""
"use salt when generating key used in encryption (recommended for maximum " "use salt when generating key used in encryption (recommended for maximum "
@@ -6079,15 +6053,6 @@ msgstr ""
"évalué, seul le pointeur vers bar_item peut être utilisé, par exemple " "évalué, seul le pointeur vers bar_item peut être utilisé, par exemple "
"\"bar_item.name\")" "\"bar_item.name\")"
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
"nombre d'objets de barre buflist qui peuvent être utilisés ; les objets de "
"barre sont : \"buflist\", \"buflist2\", \"buflist3\" ; attention, utiliser "
"plus d'un objet de barre ralentit l'affichage de la liste des tampons"
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -10590,12 +10555,6 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
"valeur de la fonctionnalité, si supportée par le serveur (du message IRC 005)" "valeur de la fonctionnalité, si supportée par le serveur (du message IRC 005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1 si le pseudo est ignoré (le message n'est pas affiché)"
msgid "server,message (message is the raw IRC message)"
msgstr "serveur,message (message est le message brut IRC)"
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "analyse un message IRC" msgstr "analyse un message IRC"
@@ -15234,6 +15193,3 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)" msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)"
#~ msgid "secured data: names and values"
#~ msgstr "données sécurisées : noms et valeurs"
+71 -66
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: hu\n" "Language: hu\n"
@@ -936,12 +936,6 @@ msgstr ""
msgid "Passphrase added" msgid "Passphrase added"
msgstr "" msgstr ""
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "" msgstr ""
@@ -1522,33 +1516,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1567,7 +1560,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2173,9 +2165,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2188,8 +2179,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -2986,9 +2975,6 @@ msgid ""
"where name is NOT displayed after number)" "where name is NOT displayed after number)"
msgstr "" msgstr ""
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -3228,9 +3214,6 @@ msgid ""
"string used to draw read marker line (string is repeated until end of line)" "string used to draw read marker line (string is repeated until end of line)"
msgstr "" msgstr ""
msgid "update the read marker when switching buffers"
msgstr ""
#, fuzzy #, fuzzy
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "beállítások mentése kilépéskor" msgstr "beállítások mentése kilépéskor"
@@ -3893,14 +3876,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
msgid "secured data"
msgstr ""
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -3937,6 +3912,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, fuzzy, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -3968,11 +3947,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4654,12 +4635,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -8353,12 +8328,6 @@ msgstr "cél: szerver neve"
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
#, fuzzy #, fuzzy
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "üzenet: küldendő üzenet" msgstr "üzenet: küldendő üzenet"
@@ -12474,5 +12443,41 @@ msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n" msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n"
#, fuzzy #, fuzzy
#~ msgid "secured data: names and values" #~ msgid "%sError: unknown bar \"%s\""
#~ msgstr "a felhasználók le lettek tiltva" #~ msgstr "%s ismeretlen billentyűparancs \"%s\"\n"
#, fuzzy
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%s helytelen pufferszám\n"
#, fuzzy
#~ msgid "%sError: buffer not found"
#~ msgstr "%s a \"%s\" modul nem található\n"
#, fuzzy
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%s a \"%s\" modul nem található\n"
#, fuzzy
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%s ismeretlen billentyűparancs \"%s\"\n"
#, fuzzy
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%s ismeretlen billentyűparancs \"%s\"\n"
#, fuzzy
#~ msgid "%sError: incorrect number"
#~ msgstr "%s helytelen pufferszám\n"
#, fuzzy
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%s nem sikerült a modul opciókat elmenteni\n"
#, fuzzy
#~ msgid "%sError: incorrect window number"
#~ msgstr "%s helytelen pufferszám\n"
#, fuzzy
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%s a \"%s\" modul nem található\n"
+63 -68
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n" "Language: it\n"
@@ -896,12 +896,6 @@ msgstr "Chiave di cifratura modificata"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Chiave di cifratura aggiunta" msgstr "Chiave di cifratura aggiunta"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "Dati sicuri \"%s\" impostati" msgstr "Dati sicuri \"%s\" impostati"
@@ -1617,33 +1611,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1662,7 +1655,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2595,9 +2587,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2610,8 +2601,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3644,9 +3633,6 @@ msgstr ""
"mantiene solo numeri univoci nella hotlist (vale solo per gli elementi della " "mantiene solo numeri univoci nella hotlist (vale solo per gli elementi della "
"hotlist per cui il nome NON viene visualizzato dopo il numero)" "hotlist per cui il nome NON viene visualizzato dopo il numero)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -3960,9 +3946,6 @@ msgstr ""
"stringa usata per tracciare il segnalibro (la stringa viene ripetuta fino a " "stringa usata per tracciare il segnalibro (la stringa viene ripetuta fino a "
"fine riga)" "fine riga)"
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "salva file di configurazione all'uscita" msgstr "salva file di configurazione all'uscita"
@@ -4650,15 +4633,6 @@ msgstr ""
"password per il server proxy (nota: il contenuto viene valutato, consultare /" "password per il server proxy (nota: il contenuto viene valutato, consultare /"
"help eval)" "help eval)"
#, fuzzy
msgid "secured data"
msgstr "Dati sicuri:"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -4701,6 +4675,11 @@ msgstr ""
"Per ripristinare i dati messi al sicuro, è possibile usare /secure decrypt " "Per ripristinare i dati messi al sicuro, è possibile usare /secure decrypt "
"consultare /help secure)" "consultare /help secure)"
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr ""
"%sAttenzione: impossibile leggere la chiave di cifratura dal file \"%s\""
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -4735,11 +4714,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5451,12 +5432,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -9458,12 +9433,6 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
"valore della caratteristica, se supportata dal servre (dal messaggio IRC 005)" "valore della caratteristica, se supportata dal servre (dal messaggio IRC 005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "controlla un messaggio IRC" msgstr "controlla un messaggio IRC"
@@ -13738,6 +13707,32 @@ msgstr "%s%s: timeout per \"%s\" con %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: impossibile connettersi al mittente" msgstr "%s%s: impossibile connettersi al mittente"
#, fuzzy #~ msgid "%sError: unknown bar \"%s\""
#~ msgid "secured data: names and values" #~ msgstr "%sErrore: barra \"%s\" sconosciuta"
#~ msgstr "Dati sicuri \"%s\" eliminati"
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sErrore: nome buffer non corretto"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sErrore: buffer non trovato"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sErrore: filtro \"%s\" non trovato"
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sErrore: layout \"%s\" sconosciuto"
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sErrore: proxy \"%s\" sconosciuto"
#~ msgid "%sError: incorrect number"
#~ msgstr "%sErrore: numero non corretto"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sErrore: impossibile impostare l'opzione \"%s\""
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sErrore: numero finestra non corretto"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sErrore: plugin \"%s\" non trovato"
+69 -69
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n" "translation/ja_JP>\n"
@@ -933,12 +933,6 @@ msgstr "パスフレーズを変更"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "パスフレーズを追加しました" msgstr "パスフレーズを追加しました"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "保護データ \"%s\" を設定" msgstr "保護データ \"%s\" を設定"
@@ -1674,33 +1668,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1719,7 +1712,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2736,7 +2728,6 @@ msgstr ""
"passphrase <passphrase>|-delete || decrypt <passphrase>|-discard || set " "passphrase <passphrase>|-delete || decrypt <passphrase>|-discard || set "
"<name> <value> || del <name>" "<name> <value> || del <name>"
#, fuzzy
msgid "" msgid ""
"passphrase: change the passphrase (without passphrase, data is stored as " "passphrase: change the passphrase (without passphrase, data is stored as "
"plain text in file sec.conf)\n" "plain text in file sec.conf)\n"
@@ -2756,9 +2747,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2771,8 +2761,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3866,9 +3854,6 @@ msgstr ""
"ホットリストには一意の番号だけを保持 (これは番号の後ろに名前が表示されていな" "ホットリストには一意の番号だけを保持 (これは番号の後ろに名前が表示されていな"
"いホットリスト要素だけに適用されます)" "いホットリスト要素だけに適用されます)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -4175,9 +4160,6 @@ msgid ""
"string used to draw read marker line (string is repeated until end of line)" "string used to draw read marker line (string is repeated until end of line)"
msgstr "リードマーカー行の表示に使われる文字列 (行末まで文字列が繰り返される)" msgstr "リードマーカー行の表示に使われる文字列 (行末まで文字列が繰り返される)"
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "終了時に設定ファイルを保存" msgstr "終了時に設定ファイルを保存"
@@ -4874,15 +4856,6 @@ msgstr ""
"プロキシサーバのパスワード (注意: 値は評価されます、/help eval を参照してくだ" "プロキシサーバのパスワード (注意: 値は評価されます、/help eval を参照してくだ"
"さい)" "さい)"
#, fuzzy
msgid "secured data"
msgstr "保護データ:"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "WeeChat の保護データ (sec.conf) | キー: [alt-v] 値のトグル" msgstr "WeeChat の保護データ (sec.conf) | キー: [alt-v] 値のトグル"
@@ -4926,6 +4899,10 @@ msgstr ""
"安全なデータを復号化するには、/secure decrypt を利用してください (/help " "安全なデータを復号化するには、/secure decrypt を利用してください (/help "
"secure を参照してください)" "secure を参照してください)"
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%s警告: ファイル \"%s\" からパスフレーズを読み込めません"
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -4960,12 +4937,21 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "復号化データをチェックするハッシュアルゴリズム" msgstr "復号化データをチェックするハッシュアルゴリズム"
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
"保護データを暗号化/複合化するためのパスフレーズを保存したファイルパス; このオ"
"プションは sec.conf ファイルを読むときだけに利用されます; ファイルの 1 行目だ"
"けが利用されます; このファイルは環境変数 \"WEECHAT_PASSPHRASE\" が設定されて"
"いないときだけに利用されます (環境変数のほうが優先順位が高いです); セキュリ"
"ティ上の注意: このファイルを自分だけが読み込める状態にし、WeeChat ホームの外 "
"(例えば自分のホームディレクトリ) に保存しておくことを推奨します; 例: \"~/."
"weechat-passphrase\""
msgid "" msgid ""
"use salt when generating key used in encryption (recommended for maximum " "use salt when generating key used in encryption (recommended for maximum "
@@ -5773,12 +5759,6 @@ msgstr ""
"文字を区別せずに比較を行うには \"~\" 文字を使います; 例: \"-~short_name\" " "文字を区別せずに比較を行うには \"~\" 文字を使います; 例: \"-~short_name\" "
"バッファの短縮名を使い、大文字小文字を区別せずにソートして、順番を逆にします" "バッファの短縮名を使い、大文字小文字を区別せずにソートして、順番を逆にします"
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -10093,12 +10073,6 @@ msgstr "サーバ、機能"
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "サーバがサポートする場合、機能の値 (IRC メッセージ 005 を使う)" msgstr "サーバがサポートする場合、機能の値 (IRC メッセージ 005 を使う)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "IRC メッセージを解析" msgstr "IRC メッセージを解析"
@@ -14535,6 +14509,32 @@ msgstr "%s%s: \"%s\" のタイムアウト %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: 接続できません: 未定義のエラー (%d)" msgstr "%s%s: 接続できません: 未定義のエラー (%d)"
#, fuzzy #~ msgid "%sError: unknown bar \"%s\""
#~ msgid "secured data: names and values" #~ msgstr "%sエラー: バー \"%s\" は未定義です"
#~ msgstr "保護データ \"%s\" を削除しました"
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sエラー: 不正なバッファ番号"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sエラー: バッファが見つかりません"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sエラー: フィルタ \"%s\" が見つかりません"
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sエラー: レイアウト \"%s\" は未定義です"
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sエラー: プロキシ \"%s\" が見つかりません"
#~ msgid "%sError: incorrect number"
#~ msgstr "%sエラー: 不正な番号"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sエラー: オプション \"%s\" の設定に失敗しました"
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sエラー: ウィンドウ番号に間違いがあります"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sエラー: プラグイン \"%s\" が見つかりません"
+91 -109
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-03-06 18:09+0100\n" "PO-Revision-Date: 2021-01-15 21:34+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n"
"Language: pl\n" "Language: pl\n"
@@ -941,15 +941,6 @@ msgstr "Hasło zmienione"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Dodano hasło" msgstr "Dodano hasło"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
"Ważne: zewnętrzny program jest używany do odczytania hasła przy uruchomieniu "
"(opcja sec.crypt.passphrase_command); musisz zapewnić, żeby ten program "
"zwracał ustawione hasło"
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "Zabezpieczono dane \"%s\"" msgstr "Zabezpieczono dane \"%s\""
@@ -1715,33 +1706,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1760,7 +1750,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -1843,34 +1832,33 @@ msgstr ""
"\n" "\n"
"Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu " "Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu "
"${zmienna}, według priorytetu zmienną może być:\n" "${zmienna}, według priorytetu zmienną może być:\n"
" 1. nieprzetworzony ciąg (format: \"raw:xxx\")\n" " 1. przetworzony ciąg (format: \"eval:xxx\")\n"
" 2. przetworzony ciąg (format: \"eval:xxx\")\n" " 2. przetworzone wyrażenie (format: \"eval_cond:xxx\")\n"
" 3. przetworzony warunek (format: \"eval_cond:xxx\")\n" " 3. ciąg z wyescapowanymi znakami (format: \"esc:xxx\" lub \"\\xxx\")\n"
" 4. ciąg z wyescapowanymi znakami (format: \"esc:xxx\" lub \"\\xxx\")\n" " 4. ciąg ze znakami do ukrycia (format: \"hide:char,string\")\n"
" 5. ciąg ze znakami do ukrycia (format: \"hide:char,string\")\n" " 5. ciąg o maksymalnej długości (format: \"cut:max,suffix,string\" lub "
" 6. ciąg o maksymalnej długości (format: \"cut:max,suffix,string\" lub "
"\"cut:+max,suffix,string\")\n" "\"cut:+max,suffix,string\")\n"
" lub maksymalna ilość znaków wyświetlanych na ekranie (format: \"cutscr:" " lub maksymalna ilość znaków wyświetlanych na ekranie (format: \"cutscr:"
"max,suffix,string\" lub \"cutscr:+max,suffix,string\")\n" "max,suffix,string\" lub \"cutscr:+max,suffix,string\")\n"
" 7. odwrócony ciąg (format: \"rev:xxx\")\n" " 6. odwrócony ciąg (format: \"rev:xxx\")\n"
" 8. powtórzony ciąg (format: \"repeat:ilość,ciąg\")\n" " 7. powtórzony ciąg (format: \"repeat:ilość,ciąg\")\n"
" 9. długość ciągu (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. długość ciągu (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color" " 9. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color"
"\")\n" "\")\n"
" 11. modyfikator (format: \"modifier:name,data,string\")\n" " 10. modyfikator (format: \"modifier:name,data,string\")\n"
" 12. informacja (format: \"info:nazwa,argumenty\", argumenty są " " 11. informacja (format: \"info:nazwa,argumenty\", argumenty są "
"opcjonalne)\n" "opcjonalne)\n"
" 13. ciąg zakodowany/zdekodowany z base 16/32/64 (format: \"base_encode:" " 12. ciąg zakodowany/zdekodowany z base 16/32/64 (format: \"base_encode:"
"base,xxx\" lub \"base_decode:base,xxx\")\n" "base,xxx\" lub \"base_decode:base,xxx\")\n"
" 14. obecna data/czas (format: \"date\" lub \"date:format\")\n" " 13. obecna data/czas (format: \"date\" lub \"date:format\")\n"
" 15. zmienna środowiskowa (format: \"env:XXX\")\n" " 14. zmienna środowiskowa (format: \"env:XXX\")\n"
" 16. wyrażenie warunkowe (format: \"if:condition?value_if_true:" " 15. wyrażenie warunkowe (format: \"if:condition?value_if_true:"
"value_if_false\")\n" "value_if_false\")\n"
" 17. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: " " 16. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "
"\"calc:xxx\")\n" "\"calc:xxx\")\n"
" 18. opcja (format: plik.sekcja.opcja)\n" " 17. opcja (format: plik.sekcja.opcja)\n"
" 19. zmienna lokalna w buforze\n" " 18 zmienna lokalna w buforze\n"
" 20. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg " " 19. 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), "
@@ -1885,11 +1873,10 @@ msgstr ""
"na przykład:\n" "na przykład:\n"
" ${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem " " ${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem "
"(może zostać użyte w triggerach)\n" "(może zostać użyte w triggerach)\n"
"Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja " "Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja "
"\"weechat_hdata_get\".\n" "\"weechat_hdata_get\".\n"
"\n" "\n"
"Przykłady (proste ciągi):\n" "Przykłady (proste ciągi):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2843,9 +2830,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2858,8 +2844,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -2889,9 +2873,7 @@ msgstr ""
"WeeChat.\n" "WeeChat.\n"
"Jest możliwe ustawienie zmiennej środowiskowej \"WEECHAT_PASSPHRASE\", aby " "Jest możliwe ustawienie zmiennej środowiskowej \"WEECHAT_PASSPHRASE\", aby "
"nie podawać hasła przy uruchomieniu (ta sama zmienna jest używana przez " "nie podawać hasła przy uruchomieniu (ta sama zmienna jest używana przez "
"WeeChat podczas wykonywania /upgrade), lub ustawienie opcji sec.crypt." "WeeChat podczas wykonywania /upgrade).\n"
"passphrase_command żeby odczytać hasło z wyjścia zewnętrznego polecenia jak "
"managera haseł (zobacz /help sec.crypt.passphrase_command).\n"
"\n" "\n"
"Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w:\n" "Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w:\n"
" - komendzie /eval\n" " - komendzie /eval\n"
@@ -2904,8 +2886,6 @@ msgstr ""
"Przykłady:\n" "Przykłady:\n"
" ustawienie hasła:\n" " ustawienie hasła:\n"
" /secure passphrase to jest moje hasło\n" " /secure passphrase to jest moje hasło\n"
" użyj programu \"pass\" do odczytania hasła przy uruchomieniu:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" zaszyfrowanie hasła dla freenode SASL:\n" " zaszyfrowanie hasła dla freenode SASL:\n"
" /secure set freenode mojehasło\n" " /secure set freenode mojehasło\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3975,9 +3955,6 @@ msgstr ""
"zatrzymaj unikalne numery na hotliście (stosowane tylko dla elementów " "zatrzymaj unikalne numery na hotliście (stosowane tylko dla elementów "
"hotlisty, w których nazwa NIE jest wyświetlana po numerze)" "hotlisty, w których nazwa NIE jest wyświetlana po numerze)"
msgid "update the hotlist when switching buffers"
msgstr "aktualizuj hotlistę podczas przełączania buforów"
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -4303,9 +4280,6 @@ msgstr ""
"ciąg używany do rysowania znacznika przeczytanej linii (ciąg jest powtarzany " "ciąg używany do rysowania znacznika przeczytanej linii (ciąg jest powtarzany "
"do końca linii)" "do końca linii)"
msgid "update the read marker when switching buffers"
msgstr "aktualizuj wskaźnik przeczytania podczas przełączania buforów"
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "zapisz plik konfiguracyjny przy wyjściu" msgstr "zapisz plik konfiguracyjny przy wyjściu"
@@ -5017,16 +4991,6 @@ msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
"hasło do serwera proxy (zawartość jest przetwarzana, zobacz /help eval)" "hasło do serwera proxy (zawartość jest przetwarzana, zobacz /help eval)"
msgid "secured data"
msgstr "zabezpieczone dane"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
"zabezpieczone dane: nazwy i wartości (uważaj: to są wrażliwe dane: NIE "
"wyświetlaj/zapisuj ich nigdzie)"
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
"Zabezpieczone dane WeeChat (sec.conf) | Klawisze: [alt-v] Przełączają " "Zabezpieczone dane WeeChat (sec.conf) | Klawisze: [alt-v] Przełączają "
@@ -5072,6 +5036,10 @@ msgstr ""
"W celu odzyskania zabezpieczonych danych, możesz użyć /secure decrypt " "W celu odzyskania zabezpieczonych danych, możesz użyć /secure decrypt "
"(zobacz /help secure)" "(zobacz /help secure)"
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%sUwaga: niemożna odczytać hasła z pliku \"%s\""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -5107,17 +5075,22 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "algorytm haszujący użyty do sprawdzenia rozszyfrowanych danych" msgstr "algorytm haszujący użyty do sprawdzenia rozszyfrowanych danych"
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
"czyta hasło z wyjścia komendy systemowej (tylko pierwsza linia jest używana " "ścieżka do pliku zawierającego hasło do szyfrowania/rozszyfrowywania "
"i nie może zawierać żadnych dodatkowych znaków); ta opcja jest używana tylko " "zabezpieczonych danych; opcja ta jest używana tylko podczas odczytu pliku "
"podczas odczytu pliku sec.conf i jeśli zmienna środowiskowa " "sec.conf; używana jest tylko pierwsza linia z tego pliku; plik jest używany "
"\"WEECHAT_PASSPHRASE\" nie jest ustawiona (zmienna środowiskowa ma wyższy " "tylko jeśli zmienna środowiskowa \"WEECHAT_PASSPHRASE\" nie została "
"priorytet); przykład z magazynem haseł: \"pass show weechat/passphrase\"" "ustawiona (zmienna środowiskowa ma najwyższy priorytet); uwaga "
"bezpieczeństwa: zaleca się trzymanie tego pliku poza katalogiem domowym "
"WeeChat (np. w katalogu domowym) i nadanie mu praw do odczytu tylko przez "
"siebie; przykład: \"~/.weechat-passphrase\""
msgid "" msgid ""
"use salt when generating key used in encryption (recommended for maximum " "use salt when generating key used in encryption (recommended for maximum "
@@ -5938,15 +5911,6 @@ msgstr ""
"(uwaga: zawartość jest przetwarzana, tylko wskaźnik na bar_item może zostać " "(uwaga: zawartość jest przetwarzana, tylko wskaźnik na bar_item może zostać "
"użyty, na przykład \"bar_item.name\")" "użyty, na przykład \"bar_item.name\")"
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
"ilość elementów „buflist” na pasku, które mogą zostać użyte; nazwy tych "
"elementów to: \"buflist\", \"buflist2\", \"buflist3\"; używanie więcej niż "
"jednego elementu paska spowalnia wyświetlanie listy buforów"
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -9651,8 +9615,6 @@ msgid ""
"channel type prefixes to use if the server does not send them in message 005 " "channel type prefixes to use if the server does not send them in message 005 "
"(default is \"#&\")" "(default is \"#&\")"
msgstr "" msgstr ""
"prefiks typu kanału jeśli serwer nie wyśle jego w wiadomości 005 (domyślnie "
"„#&”)"
#, c-format #, c-format
msgid "%s%s: error adding server \"%s\"" msgid "%s%s: error adding server \"%s\""
@@ -10348,12 +10310,6 @@ msgstr "serwer,właściwość"
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "wartość opcji, jeśli jest wpierana przez serwer (z wiadomości IRC 005)" msgstr "wartość opcji, jeśli jest wpierana przez serwer (z wiadomości IRC 005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1 jeśli nick jest ignorowany (wiadomość nie jest wyświetlana)"
msgid "server,message (message is the raw IRC message)"
msgstr "serwer,wiadomość (wiadomość to nieprzetworzona wiadomość IRC)"
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "przetwarza wiadomość IRC" msgstr "przetwarza wiadomość IRC"
@@ -14889,6 +14845,32 @@ msgstr "%s%s: przekroczono czas na \"%s\" z %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)" msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)"
#, fuzzy #~ msgid "%sError: unknown bar \"%s\""
#~ msgid "secured data: names and values" #~ msgstr "%sBłąd: nieznany pasek \"%s\""
#~ msgstr "Usunięto zabezpieczone dane \"%s\""
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sBłąd: nieprawidłowy numer buforu"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sBłąd: nie odnaleziono buforu"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sBłąd: nie odnaleziono filtru \"%s\""
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sBłąd: nieznany układ \"%s\""
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sBłąd: niezdefiniowane proxy \"%s\""
#~ msgid "%sError: incorrect number"
#~ msgstr "%sBłąd: nieprawidłowy numer"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sBłąd: nie udało się ustawić opcji \"%s\""
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sBłąd: nieprawidłowy numer okna"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sBłąd: nie znaleziono wtyczki \"%s\""
+70 -68
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n" "Language-Team: Portuguese <>\n"
"Language: pt\n" "Language: pt\n"
@@ -920,12 +920,6 @@ msgstr "Frase de acesso alterada"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Frase de acesso adicionada" msgstr "Frase de acesso adicionada"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "Dados protegidos \"%s\" definidos" msgstr "Dados protegidos \"%s\" definidos"
@@ -1676,33 +1670,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1721,7 +1714,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2750,9 +2742,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2765,8 +2756,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3871,9 +3860,6 @@ msgstr ""
"ter só números únicos na hotlist (aplica-se apenas a itens da hotlist cujo " "ter só números únicos na hotlist (aplica-se apenas a itens da hotlist cujo "
"nome NÃO é apresentado depois do número)" "nome NÃO é apresentado depois do número)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -4193,9 +4179,6 @@ msgstr ""
"cadeia utilizada para desenhar o marcador de leitura (a cadeia é repetida " "cadeia utilizada para desenhar o marcador de leitura (a cadeia é repetida "
"até ao fim da linha)" "até ao fim da linha)"
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "guardar o ficheiro de configuração ao sair" msgstr "guardar o ficheiro de configuração ao sair"
@@ -4908,15 +4891,6 @@ msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
"palavra-passe do servidor proxy (nota:o conteúdo é avaliado, ver /help eval)" "palavra-passe do servidor proxy (nota:o conteúdo é avaliado, ver /help eval)"
#, fuzzy
msgid "secured data"
msgstr "Dados protegidos:"
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
"Dados protegidos do WeeChat (sec.conf) | Teclas: [alt-v] Mostrar/ocultar os " "Dados protegidos do WeeChat (sec.conf) | Teclas: [alt-v] Mostrar/ocultar os "
@@ -4962,6 +4936,10 @@ msgstr ""
"Para recuperar os dados protegidos, pode usar /secure decrypt (ver /help " "Para recuperar os dados protegidos, pode usar /secure decrypt (ver /help "
"secure)" "secure)"
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%sAviso: não foi possível ler a frase de acesso do ficheiro \"%s\""
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -5000,12 +4978,22 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "algoritmo de hash utilizado para verificar os dados desencriptados" msgstr "algoritmo de hash utilizado para verificar os dados desencriptados"
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
"caminho para o ficheiro que contém a frase de acesso para encriptar/"
"desencriptar os dados protegidos; esta opção só é utilizada ao ler o "
"ficheiro sec.conf; só a primeira linha do ficheiro é utilizada; este "
"ficheiro só é utilizado se a variável de ambiente \"WEECHAT_PASSPHRASE\" não "
"estiver definida (a variável de ambiente tem mais prioridade); nota sobre "
"segurança: recomenda-se que guarde este ficheiro de modo que só possa ser "
"lido por si e guarde-o fora do diretório do WeeChat (por exemplo no seu "
"diretório pessoal); exemplo: \"~/.weechat-passphrase\""
msgid "" msgid ""
"use salt when generating key used in encryption (recommended for maximum " "use salt when generating key used in encryption (recommended for maximum "
@@ -5718,12 +5706,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -9907,12 +9889,6 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
"valor da funcionalidade, se suportada pelo servidor (da mensagem de IRC 005)" "valor da funcionalidade, se suportada pelo servidor (da mensagem de IRC 005)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "analisar um mensagem de IRC" msgstr "analisar um mensagem de IRC"
@@ -14392,6 +14368,32 @@ msgstr "%s%s: tempo limite de \"%s\" com %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar: erro inesperado (%d)" msgstr "%s%s: não foi possível conectar: erro inesperado (%d)"
#, fuzzy #~ msgid "%sError: unknown bar \"%s\""
#~ msgid "secured data: names and values" #~ msgstr "%sErro: barra desconhecida \"%s\""
#~ msgstr "Dados protegidos \"%s\" eliminados"
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sErro: número de buffer incorreto"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sErro: buffer não encontrado"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sErro: filtro \"%s\" não encontrado"
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sErro: disposição \"%s\" desconhecida"
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sErro: proxy desconhecido \"%s\""
#~ msgid "%sError: incorrect number"
#~ msgstr "%sErro: número incorreto"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sErro: falha ao definir a opção \"%s\""
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sErro: número de janela incorreto"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sErro: plugin \"%s\" não encontrado"
+143 -144
View File
@@ -21,9 +21,9 @@ 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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-03-05 20:43+0100\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\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"
"Language: pt_BR\n" "Language: pt_BR\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -78,17 +78,21 @@ msgstr "valor indefinido permitido (null)"
msgid "Alias" msgid "Alias"
msgstr "" msgstr ""
#, fuzzy
msgid "Command" msgid "Command"
msgstr "Comando" msgstr "Comandos:"
#, fuzzy
msgid "Completion" msgid "Completion"
msgstr "Completação" msgstr "compilado em"
#, fuzzy
msgid "IRC color" msgid "IRC color"
msgstr "Cor do IRC" msgstr "cor"
#, fuzzy
msgid "WeeChat color" msgid "WeeChat color"
msgstr "Cor do WeeChat" msgstr "Cores básicas do WeeChat"
msgid "Plugin" msgid "Plugin"
msgstr "Plugin" msgstr "Plugin"
@@ -111,31 +115,34 @@ msgstr "Tabela de Hash (saída)"
msgid "Pointer" msgid "Pointer"
msgstr "Ponteiro" msgstr "Ponteiro"
#, fuzzy
msgid "Lists" msgid "Lists"
msgstr "Listas" msgstr "Listas"
#, fuzzy
msgid "Variables" msgid "Variables"
msgstr "Variáveis" msgstr "Variáveis"
msgid "Update allowed:" msgid "Update allowed:"
msgstr "Atualização permitida:" msgstr ""
#, fuzzy
msgid "Option" msgid "Option"
msgstr "Opção" msgstr "<opção>"
msgid "Type" msgid "Type"
msgstr "Tipo" msgstr ""
msgid "Constants" msgid "Constants"
msgstr "Constantes" msgstr ""
#, c-format #, fuzzy, c-format
msgid "%sAnother command \"%s\" already exists for plugin \"%s\"" msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
msgstr "%sOutro comando \"%s\" já existe para o plugin \"%s\"" msgstr "%sErro: outro comando \"%s\" já existe para o plugin \"%s\""
#, c-format #, fuzzy, c-format
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sDescritor de arquivo ruim (%d) usado em hook_fd" msgstr "%sErro: descritor de arquivo ruim (%d) usado em hook_fd"
#, c-format #, c-format
msgid "End of command '%s', timeout reached (%.1fs)" msgid "End of command '%s', timeout reached (%.1fs)"
@@ -211,19 +218,13 @@ msgstr ""
" -c, --colors exibe as cores padrões no terminal\n" " -c, --colors exibe as cores padrões no terminal\n"
" -d, --dir <path> configura diretório do WeeChat (padrão: ~/." " -d, --dir <path> configura diretório do WeeChat (padrão: ~/."
"weechat)\n" "weechat)\n"
" (a variável de ambiente WEECHAT_HOME é lida se"
"essa opção não for dada)\n"
" -t, --temp-dir cria um diretório temporário para o WeeChat e o"
"deleta na saída\n"
" -h, --help mostra esta ajuda\n" " -h, --help mostra esta ajuda\n"
" -l, --license mostra a licença do WeeChat\n" " -l, --license mostra a licença do WeeChat\n"
" -p, --no-plugin não carrega nenhum plugin durante a " " -p, --no-plugin não carrega nenhum plugin durante a "
"inicialização\n" "inicialização\n"
" -P, --plugins <plugins> carregue apenas esses plugins na inicialização\n" " -r, --run-command <cmd> executa comandos após a inicialização\n"
" (veja /help weechat.plugin.autoload)\n" " (vários comandos são separados por ponto-e-"
" -r, --run-command <cmd> executa comandos após a inicialização;\n" "vírgula)\n"
" vários comandos podem ser separados por ponto-e-vírgula,\n"
" essa opção pode ser utilizada mais de uma vez\n"
" -s, --no-script não carrega nenhum script durante a " " -s, --no-script não carrega nenhum script durante a "
"inicialização\n" "inicialização\n"
" --upgrade atualiza o WeeChat através dos arquivos de sessão " " --upgrade atualiza o WeeChat através dos arquivos de sessão "
@@ -929,12 +930,6 @@ msgstr "Password alterado"
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Password adicionado" msgstr "Password adicionado"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "" msgstr ""
@@ -1679,33 +1674,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1724,7 +1718,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2573,9 +2566,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2588,8 +2580,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3572,9 +3562,6 @@ msgstr ""
"mantém apenas números únicos na lista de atividade (isto se aplica apenas em " "mantém apenas números únicos na lista de atividade (isto se aplica apenas em "
"items da lista de atividades onde o nome NÃO é mostrado após o número)" "items da lista de atividades onde o nome NÃO é mostrado após o número)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -3851,9 +3838,6 @@ msgstr ""
"string utilizada para desenhar a linha de marcação (a string é repetida até " "string utilizada para desenhar a linha de marcação (a string é repetida até "
"o fim da linha)" "o fim da linha)"
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "salva arquivo de configuração na saída" msgstr "salva arquivo de configuração na saída"
@@ -4517,14 +4501,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
msgid "secured data"
msgstr ""
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -4561,6 +4537,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, fuzzy, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "%s%s: não foi possível interpretar arquivo \"%s\""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -4592,11 +4572,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5266,12 +5248,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -8788,12 +8764,6 @@ msgstr ""
"valor da funcionalidade, se suportada pelo servidor (da \"message 005\" do " "valor da funcionalidade, se suportada pelo servidor (da \"message 005\" do "
"IRC)" "IRC)"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "interpretar uma mensagem IRC" msgstr "interpretar uma mensagem IRC"
@@ -8966,25 +8936,25 @@ msgstr "Lista de notificação para todos os servidores:"
msgid "Notify list is empty on all servers" msgid "Notify list is empty on all servers"
msgstr "Lista de notificação está vazia em todos os servidores" msgstr "Lista de notificação está vazia em todos os servidores"
#, c-format #, fuzzy, c-format
msgid "%snotify: %s%s%s%s%s%s%s%s%s is connected" msgid "%snotify: %s%s%s%s%s%s%s%s%s is connected"
msgstr "%snotificação: %s%s%s%s%s%s%s%s%s está conectado" msgstr "%snotificação: %s%s%s entrou %s%s"
#, c-format #, fuzzy, c-format
msgid "%snotify: %s%s%s%s%s%s%s%s%s is offline" msgid "%snotify: %s%s%s%s%s%s%s%s%s is offline"
msgstr "%snotificação: %s%s%s%s%s%s%s%s%s está desconectado" msgstr "%snotificação: %s%s%s entrou %s%s"
#, c-format #, fuzzy, c-format
msgid "%snotify: %s%s%s%s%s%s%s%s%s has connected" msgid "%snotify: %s%s%s%s%s%s%s%s%s has connected"
msgstr "%snotificação: %s%s%s%s%s%s%s%s%s se conectou" msgstr "%snotificação: %s%s%s entrou %s%s"
#, c-format #, fuzzy, c-format
msgid "%snotify: %s%s%s%s%s%s%s%s%s has quit" msgid "%snotify: %s%s%s%s%s%s%s%s%s has quit"
msgstr "%snotificação: %s%s%s%s%s%s%s%s%s saiu" msgstr "%snotificação: %s%s%s saiu %s%s"
#, c-format #, c-format
msgid "%snotify: %s%s%s is now away: \"%s\"" msgid "%snotify: %s%s%s is now away: \"%s\""
msgstr "%snotificação: %s%s%s está ausent agora: \"%s\"" msgstr ""
#, c-format #, c-format
msgid "%snotify: %s%s%s is back" msgid "%snotify: %s%s%s is back"
@@ -8994,13 +8964,13 @@ msgstr "%snotificação: %s%s%s está de volta"
msgid "%snotify: %s%s%s is still away: \"%s\"" msgid "%snotify: %s%s%s is still away: \"%s\""
msgstr "%snotificação: %s%s%s ainda está ausente: \"%s\"" msgstr "%snotificação: %s%s%s ainda está ausente: \"%s\""
#, c-format #, fuzzy, c-format
msgid "%s%s%s%s has identified as %s" msgid "%s%s%s%s has identified as %s"
msgstr "%s%s%s%s se identificou como %s" msgstr "%s%s%s%s foi chutado %s%s%s"
#, c-format #, fuzzy, c-format
msgid "%s%s%s%s has unidentified" msgid "%s%s%s%s has unidentified"
msgstr "%s%s%s%s removeu sua identificação" msgstr "Todos os filtros foram excluídos"
#, c-format #, c-format
msgid "" msgid ""
@@ -9065,17 +9035,17 @@ msgstr "%s%s%s%s convidou %s%s%s para o canal %s%s%s"
msgid "%s%s: cannot create new channel \"%s\"" msgid "%s%s: cannot create new channel \"%s\""
msgstr "%s%s: não foi possível criar novo canal \"%s\"" msgstr "%s%s: não foi possível criar novo canal \"%s\""
#, c-format #, fuzzy, c-format
msgid "%s%s%s%s%s%s%s%s%s%s%s%s has joined %s%s%s" msgid "%s%s%s%s%s%s%s%s%s%s%s%s has joined %s%s%s"
msgstr "%s%s%s%s%s%s%s%s%s%s%s%s entrou em %s%s%s" msgstr "%s%s%s%s%s%s%s%s%s%s entrou %s%s%s"
#, c-format #, c-format
msgid "%s%s%s%s has kicked %s%s%s %s(%s%s%s)" msgid "%s%s%s%s has kicked %s%s%s %s(%s%s%s)"
msgstr "%s%s%s%s chutou %s%s%s %s(%s%s%s)" msgstr "%s%s%s%s foi chutado %s%s%s %s(%s%s%s)"
#, c-format #, c-format
msgid "%s%s%s%s has kicked %s%s%s" msgid "%s%s%s%s has kicked %s%s%s"
msgstr "%s%s%s%s chutou %s%s%s" msgstr "%s%s%s%s foi chutado %s%s%s"
#, c-format #, c-format
msgid "%s%sYou were killed by %s%s%s %s(%s%s%s)" msgid "%s%sYou were killed by %s%s%s %s(%s%s%s)"
@@ -9141,9 +9111,9 @@ msgstr "%s%s%s%s limpou o tópico do canal %s%s%s"
msgid "%sWallops from %s: %s" msgid "%sWallops from %s: %s"
msgstr "" msgstr ""
#, c-format #, fuzzy, c-format
msgid "%sServer notice mask for %s%s%s: %s" msgid "%sServer notice mask for %s%s%s: %s"
msgstr "%sMáscara de aviso do servidor para %s%s%s: %s" msgstr "%sTópico para o canal %s%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]"
@@ -9199,9 +9169,9 @@ msgstr "%sCanal %s%s%s criado em %s"
msgid "%sNo topic set for channel %s%s" msgid "%sNo topic set for channel %s%s"
msgstr "%sNenhum tópico definido para o canal %s%s" msgstr "%sNenhum tópico definido para o canal %s%s"
#, c-format #, fuzzy, c-format
msgid "%sTopic for %s%s%s is \"%s%s%s\"" msgid "%sTopic for %s%s%s is \"%s%s%s\""
msgstr "%sTopic para %s%s%s é \"%s%s%s\"" msgstr "%sTópico para o canal %s%s%s é \"%s%s\""
#. TRANSLATORS: "%s" after "on" is a date #. TRANSLATORS: "%s" after "on" is a date
#, c-format #, c-format
@@ -9289,7 +9259,7 @@ msgstr[1] ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sCanal %s%s%s: %s%d%s %s %s(%s%s)" msgstr "%sresposta CTCP para %s%s%s: %s%s%s%s%s"
msgid "nick" msgid "nick"
msgid_plural "nicks" msgid_plural "nicks"
@@ -9297,17 +9267,17 @@ msgstr[0] "apelido"
msgstr[1] "apelidos" msgstr[1] "apelidos"
#. TRANSLATORS: "%s" after "on" is a date #. TRANSLATORS: "%s" after "on" is a date
#, c-format #, fuzzy, c-format
msgid "%s%s[%s%s%s] %s%s%s%s banned by %s on %s" msgid "%s%s[%s%s%s] %s%s%s%s banned by %s on %s"
msgstr "%s%s[%s%s%s] %s%s%s%s banido por %s em %s" msgstr "%s%s[%s%s%s] %s%s%s banido por %s%s %s(%s%s%s)"
#, c-format #, fuzzy, c-format
msgid "%s%s[%s%s%s] %s%s%s%s banned by %s" msgid "%s%s[%s%s%s] %s%s%s%s banned by %s"
msgstr "%s%s[%s%s%s] %s%s%s%s banido por %s" msgstr "%s%s[%s%s%s] %s%s%s banido por %s%s %s(%s%s%s)"
#, c-format #, fuzzy, c-format
msgid "%s%s[%s%s%s] %s%s%s%s banned" msgid "%s%s[%s%s%s] %s%s%s%s banned"
msgstr "%s%s[%s%s%s] %s%s%s%s banido" msgstr "%s%s[%s%s%s] %s%s%s convidado por %s%s %s(%s%s%s)"
#, c-format #, c-format
msgid "" msgid ""
@@ -9317,9 +9287,9 @@ msgstr ""
"%s%s: todos os apelidos declarados já estão em uso ou são inválidos, " "%s%s: todos os apelidos declarados já estão em uso ou são inválidos, "
"fechando conexão com o servidor" "fechando conexão com o servidor"
#, c-format #, fuzzy, c-format
msgid "%s%s: nickname \"%s\" is invalid, trying nickname \"%s\"" msgid "%s%s: nickname \"%s\" is invalid, trying nickname \"%s\""
msgstr "%s%s: apelido \"%s\" é inválido, tentando apelido \"%s\"" msgstr "%s%s: apelido \"%s\" é inválido, tentando apelido #%d (\"%s\")"
#, c-format #, c-format
msgid "" msgid ""
@@ -9329,13 +9299,13 @@ msgstr ""
"%s%s: todos os apelidos declarados já estão em uso, fechando conexão com o " "%s%s: todos os apelidos declarados já estão em uso, fechando conexão com o "
"servidor" "servidor"
#, c-format #, fuzzy, c-format
msgid "%s%s: nickname \"%s\" is already in use, trying nickname \"%s\"" msgid "%s%s: nickname \"%s\" is already in use, trying nickname \"%s\""
msgstr "%s%s: apelido \"%s\" já está em uso, tentando apelido \"%s\"" msgstr "%s: apelido \"%s\" já está em uso, tentando apelido #%d (\"%s\")"
#, c-format #, fuzzy, c-format
msgid "%s%s: nickname \"%s\" is unavailable, trying nickname \"%s\"" msgid "%s%s: nickname \"%s\" is unavailable, trying nickname \"%s\""
msgstr "%s%s: apelido \"%s\" está indisponível, tentando apelido \"%s\"" msgstr "%s%s: apelido \"%s\" está indisponível, tentando apelido #%d (\"%s\")"
#. TRANSLATORS: "%s" after "on" is a date #. TRANSLATORS: "%s" after "on" is a date
#, fuzzy, c-format #, fuzzy, c-format
@@ -9372,9 +9342,9 @@ msgstr ""
msgid "%s%s: \"%s\" command received without host" msgid "%s%s: \"%s\" command received without host"
msgstr "%s%s: \"%s\" comando recebido sem host" msgstr "%s%s: \"%s\" comando recebido sem host"
#, c-format #, fuzzy, c-format
msgid "IRC raw messages | Filter: %s" msgid "IRC raw messages | Filter: %s"
msgstr "mensagens brutas do IRC | Filtro: %s" msgstr "mensagens brutas do IRC"
#, c-format #, c-format
msgid "%s%s: missing argument \"%s\" for redirect pattern" msgid "%s%s: missing argument \"%s\" for redirect pattern"
@@ -9408,13 +9378,13 @@ msgstr ""
msgid "%s%s: server \"%s\" not found for redirect" msgid "%s%s: server \"%s\" not found for redirect"
msgstr "%s%s: servidor \"%s\" não encontrado para redirecionamento" msgstr "%s%s: servidor \"%s\" não encontrado para redirecionamento"
#, c-format #, fuzzy, 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: não foi possível ler a chave privada no arquivo \"%s\"" msgstr "%s%s: não foi possível ler arquivo \"%s\""
#, c-format #, fuzzy, c-format
msgid "%sgnutls: invalid private key file: error %d %s" msgid "%sgnutls: invalid private key file: error %d %s"
msgstr "%sgnutls: arquivo de chave privada inválido: erro %d %s" msgstr "%sgnutls: certificado \"%s\" inválido, erro: %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"
@@ -9469,9 +9439,9 @@ msgstr ""
"%s%s: enviando dados ao servidor: buffer vazio (por favor, reporte o " "%s%s: enviando dados ao servidor: buffer vazio (por favor, reporte o "
"problema aos desenvolvedores)" "problema aos desenvolvedores)"
#, c-format #, fuzzy, c-format
msgid "%s%s: sending data to server: error %d %s" msgid "%s%s: sending data to server: error %d %s"
msgstr "%s%s: enviando dados ao servidor: erro %d %s" msgstr "%s%s: enviando dados ao servidor: %d %s"
msgid "(message dropped)" msgid "(message dropped)"
msgstr "(mensagem descartada)" msgstr "(mensagem descartada)"
@@ -9487,7 +9457,7 @@ msgstr "%s%s: lendo dados no socket: erro %d %s"
msgid "(connection closed by peer)" msgid "(connection closed by peer)"
msgstr "(conexão fechada pelo parceiro)" msgstr "(conexão fechada pelo parceiro)"
#, c-format #, fuzzy, c-format
msgid "%s%s: disconnecting from server..." msgid "%s%s: disconnecting from server..."
msgstr "%s%s: desconectando do servidor..." msgstr "%s%s: desconectando do servidor..."
@@ -9495,27 +9465,27 @@ msgstr "%s%s: desconectando do servidor..."
msgid "%s%s: connection timeout (message 001 not received)" msgid "%s%s: connection timeout (message 001 not received)"
msgstr "%s%s: tempo de conexão esgotado (mensagem 001 não recebida)" msgstr "%s%s: tempo de conexão esgotado (mensagem 001 não recebida)"
#, c-format #, fuzzy, c-format
msgid "%s%s: SASL authentication timeout" msgid "%s%s: SASL authentication timeout"
msgstr "%s%s: tempo de autenticação SASL esgotado" msgstr "%s%s: tempo de autenticação sasl esgotado"
#, c-format #, fuzzy, c-format
msgid "%s%s: lag is high, reconnecting to server %s%s%s" msgid "%s%s: lag is high, reconnecting to server %s%s%s"
msgstr "%s%s: lag está alto, reconectando ao servidor %s%s%s" msgstr "%s%s: lag está alto, reconectando no servidor %s%s%s"
#, c-format #, fuzzy, c-format
msgid "%s%s: reconnecting to server in %d %s, %d %s" msgid "%s%s: reconnecting to server in %d %s, %d %s"
msgstr "%s%s: reconectando ao servidor em %d %s, %d %s" msgstr "%s%s: reconectando ao servidor em %d %s, %d %s"
#, c-format #, fuzzy, c-format
msgid "%s%s: reconnecting to server in %d %s" msgid "%s%s: reconnecting to server in %d %s"
msgstr "%s%s: reconectando ao servidor em %d %s" msgstr "%s%s: reconectando ao servidor em %d %s"
#, c-format #, fuzzy, c-format
msgid "%s%s: switching address to %s/%d" msgid "%s%s: switching address to %s/%d"
msgstr "%s%s: alterando endereço para %s/%d" msgstr "%s%s: alterando endereço para %s/%d"
#, c-format #, fuzzy, c-format
msgid "%s%s: connected to %s/%d (%s)" msgid "%s%s: connected to %s/%d (%s)"
msgstr "%s%s: conectado a %s/%d (%s)" msgstr "%s%s: conectado a %s/%d (%s)"
@@ -9578,7 +9548,7 @@ msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: timeout" msgid "%s%s: timeout"
msgstr "%s%s: tempo esgotado" msgstr "%s%s: tempo esgotado para \"%s\" com %s"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: unable to create socket" msgid "%s%s: unable to create socket"
@@ -12763,14 +12733,17 @@ msgstr "cor do texto para o status \"falhou\""
msgid "text color for \"waiting\" status" msgid "text color for \"waiting\" status"
msgstr "cor do texto para o status \"esperando\"" msgstr "cor do texto para o status \"esperando\""
#, fuzzy
msgid "text color in xfer buffer" msgid "text color in xfer buffer"
msgstr "cor do texto para buffer de transferência" msgstr "cor do texto para nomes de buffer"
#, fuzzy
msgid "background color in xfer buffer" msgid "background color in xfer buffer"
msgstr "cor de fundo para buffer de transferência" msgstr "cor de fundo para conversa"
#, fuzzy
msgid "text color of selected line in xfer buffer" msgid "text color of selected line in xfer buffer"
msgstr "cor do texto para linha selecionada no buffer de transferência" msgstr "cor do texto da linha do cliente selecionada"
msgid "block size for sending packets, in bytes" msgid "block size for sending packets, in bytes"
msgstr "tamanho do bloco de dado para enviar pacotes, em bytes" msgstr "tamanho do bloco de dado para enviar pacotes, em bytes"
@@ -12956,6 +12929,32 @@ msgstr "%s%s: tempo esgotado para \"%s\" com %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar ao remetente" msgstr "%s%s: não foi possível conectar ao remetente"
#, fuzzy #~ msgid "%sError: unknown bar \"%s\""
#~ msgid "secured data: names and values" #~ msgstr "%sErro: barra desconhecida \"%s\""
#~ msgstr "Dados seguros \"%s\" deletados"
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%sErro: número do buffer incorreto"
#~ msgid "%sError: buffer not found"
#~ msgstr "%sErro: buffer não encontrado"
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%sErro: filtro \"%s\" não encontrado"
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%sErro: disposição desconhecida \"%s\""
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%sErro: proxy desconhecido \"%s\""
#~ msgid "%sError: incorrect number"
#~ msgstr "%sErro: número incorreto"
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%sErro: falhou ao configurar a opção \"%s\""
#~ msgid "%sError: incorrect window number"
#~ msgstr "%sErro: número da janela incorreto"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sErro: plugin \"%s\" não encontrado"
+71 -66
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: ru\n" "Language: ru\n"
@@ -951,12 +951,6 @@ msgstr ""
msgid "Passphrase added" msgid "Passphrase added"
msgstr "" msgstr ""
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "" msgstr ""
@@ -1544,33 +1538,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1589,7 +1582,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -2196,9 +2188,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2211,8 +2202,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -3019,9 +3008,6 @@ msgstr ""
"максимальное количество имён в хотлисте (0 = имена не показываются, только " "максимальное количество имён в хотлисте (0 = имена не показываются, только "
"номера буферов)" "номера буферов)"
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -3261,9 +3247,6 @@ msgid ""
"string used to draw read marker line (string is repeated until end of line)" "string used to draw read marker line (string is repeated until end of line)"
msgstr "" msgstr ""
msgid "update the read marker when switching buffers"
msgstr ""
#, fuzzy #, fuzzy
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "сохранять конфигурационный файл при выходе" msgstr "сохранять конфигурационный файл при выходе"
@@ -3923,14 +3906,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
msgid "secured data"
msgstr ""
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -3969,6 +3944,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, fuzzy, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr "Не могу записать лог-файл \"%s\"\n"
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -4000,11 +3979,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4689,12 +4670,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -8387,12 +8362,6 @@ msgstr "цель: название сервера"
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
#, fuzzy #, fuzzy
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "сообщение: отправляемое сообщение" msgstr "сообщение: отправляемое сообщение"
@@ -12505,5 +12474,41 @@ msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: не могу соединиться с отправителем\n" msgstr "%s DCC: не могу соединиться с отправителем\n"
#, fuzzy #, fuzzy
#~ msgid "secured data: names and values" #~ msgid "%sError: unknown bar \"%s\""
#~ msgstr "команда users отключена" #~ msgstr "%s неизвестная функция клавиши \"%s\"\n"
#, fuzzy
#~ msgid "%sError: incorrect buffer number"
#~ msgstr "%s неправильный номер буфера\n"
#, fuzzy
#~ msgid "%sError: buffer not found"
#~ msgstr "%s plugin \"%s\" не найден\n"
#, fuzzy
#~ msgid "%sError: filter \"%s\" not found"
#~ msgstr "%s plugin \"%s\" не найден\n"
#, fuzzy
#~ msgid "%sError: unknown layout \"%s\""
#~ msgstr "%s неизвестная функция клавиши \"%s\"\n"
#, fuzzy
#~ msgid "%sError: unknown proxy \"%s\""
#~ msgstr "%s неизвестная функция клавиши \"%s\"\n"
#, fuzzy
#~ msgid "%sError: incorrect number"
#~ msgstr "%s неправильный номер буфера\n"
#, fuzzy
#~ msgid "%sError: failed to set option \"%s\""
#~ msgstr "%s не могу сохранить конфигурационный файл pluginов\n"
#, fuzzy
#~ msgid "%sError: incorrect window number"
#~ msgstr "%s неправильный номер буфера\n"
#, fuzzy
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%s plugin \"%s\" не найден\n"
+38 -67
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\n"
"PO-Revision-Date: 2021-02-06 15:55+0100\n" "PO-Revision-Date: 2019-11-03 08:38+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n" "Language: tr\n"
@@ -852,12 +852,6 @@ msgstr ""
msgid "Passphrase added" msgid "Passphrase added"
msgstr "Tarih eklendi" msgstr "Tarih eklendi"
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "" msgstr ""
@@ -1375,33 +1369,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1420,7 +1413,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -1988,9 +1980,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2003,8 +1994,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -2726,9 +2715,6 @@ msgid ""
"where name is NOT displayed after number)" "where name is NOT displayed after number)"
msgstr "" msgstr ""
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -2954,9 +2940,6 @@ msgid ""
"string used to draw read marker line (string is repeated until end of line)" "string used to draw read marker line (string is repeated until end of line)"
msgstr "" msgstr ""
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "" msgstr ""
@@ -3535,14 +3518,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
msgid "secured data"
msgstr ""
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -3579,6 +3554,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -3610,11 +3589,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4259,12 +4240,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -7588,12 +7563,6 @@ msgstr ""
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "" msgstr ""
@@ -11433,6 +11402,8 @@ msgstr ""
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "" msgstr ""
#, fuzzy #~ msgid "%sError: filter \"%s\" not found"
#~ msgid "secured data: names and values" #~ msgstr "%sHata: filtre \"%s\" bulunamadı"
#~ msgstr "Filtre \"%s\" silindi"
#~ msgid "%sError: plugin \"%s\" not found"
#~ msgstr "%sHata: \"%s\" eklentisi bulunamadı"
+32 -63
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: 2021-02-25 18:40+0100\n" "POT-Creation-Date: 2021-01-30 09:32+0100\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"
@@ -851,12 +851,6 @@ msgstr ""
msgid "Passphrase added" msgid "Passphrase added"
msgstr "" msgstr ""
msgid ""
"Important: an external program is configured to read the passphrase on "
"startup (option sec.crypt.passphrase_command); you must ensure this program "
"returns the new passphrase you just defined"
msgstr ""
#, c-format #, c-format
msgid "Secured data \"%s\" set" msgid "Secured data \"%s\" set"
msgstr "" msgstr ""
@@ -1377,33 +1371,32 @@ msgid ""
"\n" "\n"
"Some variables are replaced in expression, using the format ${variable}, " "Some variables are replaced in expression, using the format ${variable}, "
"variable can be, by order of priority:\n" "variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
" 6. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
"+max,suffix,string\")\n" "+max,suffix,string\")\n"
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " " or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
"or \"cutscr:+max,suffix,string\")\n" "or \"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" " 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " " 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
"\"color\")\n" "\"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" " 11. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" " 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx"
"\" or \"base_decode:base,xxx\")\n" "\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" " 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
"\")\n" "\")\n"
" 17. result of an expression with parentheses and operators + - * / // % ** " " 16. result of an expression with parentheses and operators + - * / // % ** "
"(format: \"calc:xxx\")\n" "(format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted to " " 19. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/" "string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n" "buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -1422,7 +1415,6 @@ msgid ""
"function \"weechat_hdata_get\".\n" "function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -1986,9 +1978,8 @@ msgid ""
"startup.\n" "startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" to prevent "
"the prompt (this same variable is used by WeeChat on /upgrade), or to set " "the prompt (this same variable is used by WeeChat on /upgrade), or to set "
"option sec.crypt.passphrase_command to read the passphrase from the output " "option sec.crypt.passphrase_file to read the passphrase from a file (see /"
"of an external command like a password manager (see /help sec.crypt." "help sec.crypt.passphrase_file).\n"
"passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -2001,8 +1992,6 @@ msgid ""
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
@@ -2721,9 +2710,6 @@ msgid ""
"where name is NOT displayed after number)" "where name is NOT displayed after number)"
msgstr "" msgstr ""
msgid "update the hotlist when switching buffers"
msgstr ""
msgid "" msgid ""
"number of chars displayed after end of input line when scrolling to display " "number of chars displayed after end of input line when scrolling to display "
"end of line" "end of line"
@@ -2949,9 +2935,6 @@ msgid ""
"string used to draw read marker line (string is repeated until end of line)" "string used to draw read marker line (string is repeated until end of line)"
msgstr "" msgstr ""
msgid "update the read marker when switching buffers"
msgstr ""
msgid "save configuration file on exit" msgid "save configuration file on exit"
msgstr "" msgstr ""
@@ -3524,14 +3507,6 @@ msgstr ""
msgid "password for proxy server (note: content is evaluated, see /help eval)" msgid "password for proxy server (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
msgid "secured data"
msgstr ""
msgid ""
"secured data: names and values (be careful: the values are sensitive data: "
"do NOT print/log them anywhere)"
msgstr ""
msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values" msgid "WeeChat secured data (sec.conf) | Keys: [alt-v] Toggle values"
msgstr "" msgstr ""
@@ -3568,6 +3543,10 @@ msgid ""
"To recover your secured data, you can use /secure decrypt (see /help secure)" "To recover your secured data, you can use /secure decrypt (see /help secure)"
msgstr "" msgstr ""
#, c-format
msgid "%sWarning: unable to read passphrase from file \"%s\""
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%sUnable to reload file sec.conf because there is still encrypted data (use /" "%sUnable to reload file sec.conf because there is still encrypted data (use /"
@@ -3599,11 +3578,13 @@ msgid "hash algorithm used to check the decrypted data"
msgstr "" msgstr ""
msgid "" msgid ""
"read the passphrase from the output of this system command (only the first " "path to a file containing the passphrase to encrypt/decrypt secured data; "
"line is used and it must not contain any extra character); this option is " "this option is used only when reading file sec.conf; only first line of file "
"used only when reading file sec.conf and if the environment variable " "is used; this file is used only if the environment variable "
"\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher "
"priority); example with password-store: \"pass show weechat/passphrase\"" "priority); security note: it is recommended to keep this file readable only "
"by you and store it outside WeeChat home (for example in your home); "
"example: \"~/.weechat-passphrase\""
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4242,12 +4223,6 @@ msgid ""
"pointer to bar_item can be used, for example \"bar_item.name\")" "pointer to bar_item can be used, for example \"bar_item.name\")"
msgstr "" msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: \"buflist"
"\", \"buflist2\", \"buflist3\"; be careful, using more than one bar item "
"slows down the display of buffers list"
msgstr ""
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
"buflist); example: standard format for bar item \"buflist\" and only the " "buflist); example: standard format for bar item \"buflist\" and only the "
@@ -7446,12 +7421,6 @@ msgstr ""
msgid "value of feature, if supported by server (from IRC message 005)" msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "" msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
msgid "server,message (message is the raw IRC message)"
msgstr ""
msgid "parse an IRC message" msgid "parse an IRC message"
msgstr "" msgstr ""
+21 -36
View File
@@ -5674,16 +5674,6 @@ COMMAND_CALLBACK(secure)
if (secure_hashtable_data->items_count > 0) if (secure_hashtable_data->items_count > 0)
command_save_file (secure_config_file); command_save_file (secure_config_file);
secure_buffer_display (); secure_buffer_display ();
if (CONFIG_STRING(secure_config_crypt_passphrase_command)[0])
{
gui_chat_printf (
NULL,
_("Important: an external program is configured to read "
"the passphrase on startup "
"(option sec.crypt.passphrase_command); "
"you must ensure this program returns the new "
"passphrase you just defined"));
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
@@ -7555,36 +7545,35 @@ command_init ()
"\n" "\n"
"Some variables are replaced in expression, using the format " "Some variables are replaced in expression, using the format "
"${variable}, variable can be, by order of priority:\n" "${variable}, variable can be, by order of priority:\n"
" 1. the string itself without evaluation (format: \"raw:xxx\")\n" " 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. an evaluated sub-string (format: \"eval:xxx\")\n" " 2. an evaluated condition (format: \"eval_cond:xxx\")\n"
" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" " 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" " 4. a string with chars to hide (format: \"hide:char,string\")\n"
" 5. a string with chars to hide (format: \"hide:char,string\")\n" " 5. a string with max chars (format: \"cut:max,suffix,string\" "
" 6. a string with max chars (format: \"cut:max,suffix,string\" "
"or \"cut:+max,suffix,string\")\n" "or \"cut:+max,suffix,string\")\n"
" or max chars displayed on screen " " or max chars displayed on screen "
"(format: \"cutscr:max,suffix,string\" or " "(format: \"cutscr:max,suffix,string\" or "
"\"cutscr:+max,suffix,string\")\n" "\"cutscr:+max,suffix,string\")\n"
" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" " 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
" 8. a repeated string (format: \"repeat:count,string\")\n" " 7. a repeated string (format: \"repeat:count,string\")\n"
" 9. length of a string (format: \"length:xxx\" or " " 8. length of a string (format: \"length:xxx\" or "
"\"lengthscr:xxx\")\n" "\"lengthscr:xxx\")\n"
" 10. a color (format: \"color:xxx\", see \"Plugin API " " 9. a color (format: \"color:xxx\", see \"Plugin API "
"reference\", function \"color\")\n" "reference\", function \"color\")\n"
" 11. a modifier (format: \"modifier:name,data,string\")\n" " 10. a modifier (format: \"modifier:name,data,string\")\n"
" 12. an info (format: \"info:name,arguments\", arguments are " " 11. an info (format: \"info:name,arguments\", arguments are "
"optional)\n" "optional)\n"
" 13. a base 16/32/64 encoded/decoded string (format: " " 12. a base 16/32/64 encoded/decoded string (format: "
"\"base_encode:base,xxx\" or \"base_decode:base,xxx\")\n" "\"base_encode:base,xxx\" or \"base_decode:base,xxx\")\n"
" 14. current date/time (format: \"date\" or \"date:format\")\n" " 13. current date/time (format: \"date\" or \"date:format\")\n"
" 15. an environment variable (format: \"env:XXX\")\n" " 14. an environment variable (format: \"env:XXX\")\n"
" 16. a ternary operator (format: " " 15. a ternary operator (format: "
"\"if:condition?value_if_true:value_if_false\")\n" "\"if:condition?value_if_true:value_if_false\")\n"
" 17. result of an expression with parentheses and operators " " 16. result of an expression with parentheses and operators "
"+ - * / // % ** (format: \"calc:xxx\")\n" "+ - * / // % ** (format: \"calc:xxx\")\n"
" 18. an option (format: \"file.section.option\")\n" " 17. an option (format: \"file.section.option\")\n"
" 19. a local variable in buffer\n" " 18. a local variable in buffer\n"
" 20. a hdata name/variable (the value is automatically converted " " 19. 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"
@@ -7604,7 +7593,6 @@ command_init ()
"reference\", function \"weechat_hdata_get\".\n" "reference\", function \"weechat_hdata_get\".\n"
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${raw:${info:version}} ==> ${info:version}\n"
" /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\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 ${env:HOME} ==> /home/user\n"
@@ -8210,9 +8198,8 @@ command_init ()
"on startup.\n" "on startup.\n"
"It is possible to set environment variable \"WEECHAT_PASSPHRASE\" " "It is possible to set environment variable \"WEECHAT_PASSPHRASE\" "
"to prevent the prompt (this same variable is used by WeeChat on " "to prevent the prompt (this same variable is used by WeeChat on "
"/upgrade), or to set option sec.crypt.passphrase_command to read " "/upgrade), or to set option sec.crypt.passphrase_file to read "
"the passphrase from the output of an external command like a " "the passphrase from a file (see /help sec.crypt.passphrase_file).\n"
"password manager (see /help sec.crypt.passphrase_command).\n"
"\n" "\n"
"Secured data with format ${sec.data.xxx} can be used in:\n" "Secured data with format ${sec.data.xxx} can be used in:\n"
" - command /eval\n" " - command /eval\n"
@@ -8225,8 +8212,6 @@ command_init ()
"Examples:\n" "Examples:\n"
" set a passphrase:\n" " set a passphrase:\n"
" /secure passphrase this is my passphrase\n" " /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n" " encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n" " /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
-14
View File
@@ -135,7 +135,6 @@ struct t_config_option *config_look_hotlist_short_names;
struct t_config_option *config_look_hotlist_sort; struct t_config_option *config_look_hotlist_sort;
struct t_config_option *config_look_hotlist_suffix; struct t_config_option *config_look_hotlist_suffix;
struct t_config_option *config_look_hotlist_unique_numbers; struct t_config_option *config_look_hotlist_unique_numbers;
struct t_config_option *config_look_hotlist_update_on_buffer_switch;
struct t_config_option *config_look_input_cursor_scroll; struct t_config_option *config_look_input_cursor_scroll;
struct t_config_option *config_look_input_share; struct t_config_option *config_look_input_share;
struct t_config_option *config_look_input_share_overwrite; struct t_config_option *config_look_input_share_overwrite;
@@ -181,7 +180,6 @@ struct t_config_option *config_look_quote_time_format;
struct t_config_option *config_look_read_marker; struct t_config_option *config_look_read_marker;
struct t_config_option *config_look_read_marker_always_show; struct t_config_option *config_look_read_marker_always_show;
struct t_config_option *config_look_read_marker_string; struct t_config_option *config_look_read_marker_string;
struct t_config_option *config_look_read_marker_update_on_buffer_switch;
struct t_config_option *config_look_save_config_on_exit; struct t_config_option *config_look_save_config_on_exit;
struct t_config_option *config_look_save_config_with_fsync; struct t_config_option *config_look_save_config_with_fsync;
struct t_config_option *config_look_save_layout_on_exit; struct t_config_option *config_look_save_layout_on_exit;
@@ -3101,12 +3099,6 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL,
&config_change_buffer_content, NULL, NULL, &config_change_buffer_content, NULL, NULL,
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_hotlist_update_on_buffer_switch = config_file_new_option (
weechat_config_file, ptr_section,
"hotlist_update_on_buffer_switch", "boolean",
N_("update the hotlist when switching buffers"),
NULL, 0, 0, "on", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_input_cursor_scroll = config_file_new_option ( config_look_input_cursor_scroll = config_file_new_option (
weechat_config_file, ptr_section, weechat_config_file, ptr_section,
"input_cursor_scroll", "integer", "input_cursor_scroll", "integer",
@@ -3532,12 +3524,6 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL,
&config_change_read_marker, NULL, NULL, &config_change_read_marker, NULL, NULL,
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_read_marker_update_on_buffer_switch = config_file_new_option (
weechat_config_file, ptr_section,
"read_marker_update_on_buffer_switch", "boolean",
N_("update the read marker when switching buffers"),
NULL, 0, 0, "on", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_save_config_on_exit = config_file_new_option ( config_look_save_config_on_exit = config_file_new_option (
weechat_config_file, ptr_section, weechat_config_file, ptr_section,
"save_config_on_exit", "boolean", "save_config_on_exit", "boolean",
-2
View File
@@ -188,7 +188,6 @@ extern struct t_config_option *config_look_hotlist_short_names;
extern struct t_config_option *config_look_hotlist_sort; extern struct t_config_option *config_look_hotlist_sort;
extern struct t_config_option *config_look_hotlist_suffix; extern struct t_config_option *config_look_hotlist_suffix;
extern struct t_config_option *config_look_hotlist_unique_numbers; extern struct t_config_option *config_look_hotlist_unique_numbers;
extern struct t_config_option *config_look_hotlist_update_on_buffer_switch;
extern struct t_config_option *config_look_input_cursor_scroll; extern struct t_config_option *config_look_input_cursor_scroll;
extern struct t_config_option *config_look_input_share; extern struct t_config_option *config_look_input_share;
extern struct t_config_option *config_look_input_share_overwrite; extern struct t_config_option *config_look_input_share_overwrite;
@@ -234,7 +233,6 @@ extern struct t_config_option *config_look_quote_time_format;
extern struct t_config_option *config_look_read_marker; extern struct t_config_option *config_look_read_marker;
extern struct t_config_option *config_look_read_marker_always_show; extern struct t_config_option *config_look_read_marker_always_show;
extern struct t_config_option *config_look_read_marker_string; extern struct t_config_option *config_look_read_marker_string;
extern struct t_config_option *config_look_read_marker_update_on_buffer_switch;
extern struct t_config_option *config_look_save_config_on_exit; extern struct t_config_option *config_look_save_config_on_exit;
extern struct t_config_option *config_look_save_config_with_fsync; extern struct t_config_option *config_look_save_config_with_fsync;
extern struct t_config_option *config_look_save_layout_on_exit; extern struct t_config_option *config_look_save_layout_on_exit;
+43 -53
View File
@@ -985,33 +985,32 @@ end:
/* /*
* Replaces variables, which can be, by order of priority: * Replaces variables, which can be, by order of priority:
* 1. the string itself without evaluation (format: raw:xxx) * 1. an extra variable from hashtable "extra_vars"
* 2. an extra variable from hashtable "extra_vars" * 2. a string to evaluate (format: eval:xxx)
* 3. a string to evaluate (format: eval:xxx) * 3. a condition to evaluate (format: eval_cond:xxx)
* 4. a condition to evaluate (format: eval_cond:xxx) * 4. a string with escaped chars (format: esc:xxx or \xxx)
* 5. a string with escaped chars (format: esc:xxx or \xxx) * 5. a string with chars to hide (format: hide:char,string)
* 6. a string with chars to hide (format: hide:char,string) * 6. a string with max chars (format: cut:max,suffix,string or
* 7. a string with max chars (format: cut:max,suffix,string or
* cut:+max,suffix,string) or max chars on screen * cut:+max,suffix,string) or max chars on screen
* (format: cutscr:max,suffix,string or cutscr:+max,suffix,string) * (format: cutscr:max,suffix,string or cutscr:+max,suffix,string)
* 8. a reversed string (format: rev:xxx) or reversed string for screen, * 7. a reversed string (format: rev:xxx) or reversed string for screen,
* color codes are not reversed (format: revscr:xxx) * color codes are not reversed (format: revscr:xxx)
* 9. a repeated string (format: repeat:count,string) * 8. a repeated string (format: repeat:count,string)
* 10. length of a string (format: length:xxx) or length of a string on screen * 9. length of a string (format: length:xxx) or length of a string on screen
* (format: lengthscr:xxx); color codes are ignored * (format: lengthscr:xxx); color codes are ignored
* 11. a regex group captured (format: re:N (0.99) or re:+) * 10. a regex group captured (format: re:N (0.99) or re:+)
* 12. a color (format: color:xxx) * 11. a color (format: color:xxx)
* 13. a modifier (format: modifier:name,data,xxx) * 12. a modifier (format: modifier:name,data,xxx)
* 14. an info (format: info:name,arguments) * 13. an info (format: info:name,arguments)
* 15. a base 16/32/64 encoded/decoded string (format: base_encode:base,xxx * 14. a base 16/32/64 encoded/decoded string (format: base_encode:base,xxx
* or base_decode:base,xxx) * or base_decode:base,xxx)
* 16. current date/time (format: date or date:xxx) * 15. current date/time (format: date or date:xxx)
* 17. an environment variable (format: env:XXX) * 16. an environment variable (format: env:XXX)
* 18. a ternary operator (format: if:condition?value_if_true:value_if_false) * 17. a ternary operator (format: if:condition?value_if_true:value_if_false)
* 19. calculate result of an expression (format: calc:xxx) * 18. calculate result of an expression (format: calc:xxx)
* 20. an option (format: file.section.option) * 19. an option (format: file.section.option)
* 21. a buffer local variable * 20. a buffer local variable
* 22. a hdata variable (format: hdata.var1.var2 or hdata[list].var1.var2 * 21. a hdata variable (format: hdata.var1.var2 or hdata[list].var1.var2
* or hdata[ptr].var1.var2) * or hdata[ptr].var1.var2)
* *
* See /help in WeeChat for examples. * See /help in WeeChat for examples.
@@ -1035,16 +1034,7 @@ eval_replace_vars_cb (void *data, const char *text)
EVAL_DEBUG_MSG(1, "eval_replace_vars_cb(\"%s\")", text); EVAL_DEBUG_MSG(1, "eval_replace_vars_cb(\"%s\")", text);
/* /* 1. variable in hashtable "extra_vars" */
* 1. raw text (no evaluation at all)
*/
if (strncmp (text, "raw:", 4) == 0)
{
value = strdup (text + 4);
goto end;
}
/* 2. variable in hashtable "extra_vars" */
if (eval_context->extra_vars) if (eval_context->extra_vars)
{ {
ptr_value = hashtable_get (eval_context->extra_vars, text); ptr_value = hashtable_get (eval_context->extra_vars, text);
@@ -1070,7 +1060,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
/* /*
* 3. force evaluation of string (recursive call) * 2. force evaluation of string (recursive call)
* --> use with caution: the text must be safe! * --> use with caution: the text must be safe!
*/ */
if (strncmp (text, "eval:", 5) == 0) if (strncmp (text, "eval:", 5) == 0)
@@ -1080,7 +1070,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
/* /*
* 4. force evaluation of condition (recursive call) * 3. force evaluation of condition (recursive call)
* --> use with caution: the text must be safe! * --> use with caution: the text must be safe!
*/ */
if (strncmp (text, "eval_cond:", 10) == 0) if (strncmp (text, "eval_cond:", 10) == 0)
@@ -1089,7 +1079,7 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 5. convert escaped chars */ /* 4. convert escaped chars */
if (strncmp (text, "esc:", 4) == 0) if (strncmp (text, "esc:", 4) == 0)
{ {
value = string_convert_escaped_chars (text + 4); value = string_convert_escaped_chars (text + 4);
@@ -1101,7 +1091,7 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 6. hide chars: replace all chars by a given char/string */ /* 5. hide chars: replace all chars by a given char/string */
if (strncmp (text, "hide:", 5) == 0) if (strncmp (text, "hide:", 5) == 0)
{ {
value = eval_string_hide (text + 5); value = eval_string_hide (text + 5);
@@ -1109,7 +1099,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
/* /*
* 7. cut chars: * 6. cut chars:
* cut: max number of chars, and add an optional suffix when the * cut: max number of chars, and add an optional suffix when the
* string is cut * string is cut
* cutscr: max number of chars displayed on screen, and add an optional * cutscr: max number of chars displayed on screen, and add an optional
@@ -1126,7 +1116,7 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 8. reverse string */ /* 7. reverse string */
if (strncmp (text, "rev:", 4) == 0) if (strncmp (text, "rev:", 4) == 0)
{ {
value = string_reverse (text + 4); value = string_reverse (text + 4);
@@ -1138,7 +1128,7 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 9. repeated string */ /* 8. repeated string */
if (strncmp (text, "repeat:", 7) == 0) if (strncmp (text, "repeat:", 7) == 0)
{ {
value = eval_string_repeat (text + 7); value = eval_string_repeat (text + 7);
@@ -1146,7 +1136,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
/* /*
* 10. length of string: * 9. length of string:
* length: number of chars * length: number of chars
* lengthscr: number of chars displayed on screen * lengthscr: number of chars displayed on screen
*/ */
@@ -1165,35 +1155,35 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 11. regex group captured */ /* 10. regex group captured */
if (strncmp (text, "re:", 3) == 0) if (strncmp (text, "re:", 3) == 0)
{ {
value = eval_string_regex_group (text + 3, eval_context); value = eval_string_regex_group (text + 3, eval_context);
goto end; goto end;
} }
/* 12. color code */ /* 11. color code */
if (strncmp (text, "color:", 6) == 0) if (strncmp (text, "color:", 6) == 0)
{ {
value = eval_string_color (text + 6); value = eval_string_color (text + 6);
goto end; goto end;
} }
/* 13. modifier */ /* 12. modifier */
if (strncmp (text, "modifier:", 9) == 0) if (strncmp (text, "modifier:", 9) == 0)
{ {
value = eval_string_modifier (text + 9); value = eval_string_modifier (text + 9);
goto end; goto end;
} }
/* 14. info */ /* 13. info */
if (strncmp (text, "info:", 5) == 0) if (strncmp (text, "info:", 5) == 0)
{ {
value = eval_string_info (text + 5); value = eval_string_info (text + 5);
goto end; goto end;
} }
/* 15. base_encode/base_decode */ /* 14. base_encode/base_decode */
if (strncmp (text, "base_encode:", 12) == 0) if (strncmp (text, "base_encode:", 12) == 0)
{ {
value = eval_string_base_encode (text + 12); value = eval_string_base_encode (text + 12);
@@ -1205,14 +1195,14 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 16. current date/time */ /* 15. current date/time */
if ((strncmp (text, "date", 4) == 0) && (!text[4] || (text[4] == ':'))) if ((strncmp (text, "date", 4) == 0) && (!text[4] || (text[4] == ':')))
{ {
value = eval_string_date (text + 4); value = eval_string_date (text + 4);
goto end; goto end;
} }
/* 17. environment variable */ /* 16. environment variable */
if (strncmp (text, "env:", 4) == 0) if (strncmp (text, "env:", 4) == 0)
{ {
ptr_value = getenv (text + 4); ptr_value = getenv (text + 4);
@@ -1220,7 +1210,7 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 18: ternary operator: if:condition?value_if_true:value_if_false */ /* 17: ternary operator: if:condition?value_if_true:value_if_false */
if (strncmp (text, "if:", 3) == 0) if (strncmp (text, "if:", 3) == 0)
{ {
value = eval_string_if (text + 3, eval_context); value = eval_string_if (text + 3, eval_context);
@@ -1228,7 +1218,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
/* /*
* 19. calculate the result of an expression * 18. calculate the result of an expression
* (with number, operators and parentheses) * (with number, operators and parentheses)
*/ */
if (strncmp (text, "calc:", 5) == 0) if (strncmp (text, "calc:", 5) == 0)
@@ -1237,7 +1227,7 @@ eval_replace_vars_cb (void *data, const char *text)
goto end; goto end;
} }
/* 20. option: if found, return this value */ /* 19. 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);
@@ -1280,7 +1270,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
} }
/* 21. local variable in buffer */ /* 20. local variable in buffer */
ptr_buffer = hashtable_get (eval_context->pointers, "buffer"); ptr_buffer = hashtable_get (eval_context->pointers, "buffer");
if (ptr_buffer) if (ptr_buffer)
{ {
@@ -1292,7 +1282,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
} }
/* 22. hdata */ /* 21. hdata */
value = eval_string_hdata (text, eval_context); value = eval_string_hdata (text, eval_context);
end: end:
@@ -1310,7 +1300,7 @@ end:
char * char *
eval_replace_vars (const char *expr, struct t_eval_context *eval_context) eval_replace_vars (const char *expr, struct t_eval_context *eval_context)
{ {
const char *no_replace_prefix_list[] = { "if:", "raw:", NULL }; const char *no_replace_prefix_list[] = { "if:", NULL };
char *result; char *result;
int debug_id; int debug_id;
+75 -38
View File
@@ -42,7 +42,7 @@ struct t_config_file *secure_config_file = NULL;
struct t_config_option *secure_config_crypt_cipher = NULL; struct t_config_option *secure_config_crypt_cipher = NULL;
struct t_config_option *secure_config_crypt_hash_algo = NULL; struct t_config_option *secure_config_crypt_hash_algo = NULL;
struct t_config_option *secure_config_crypt_passphrase_command = NULL; struct t_config_option *secure_config_crypt_passphrase_file = NULL;
struct t_config_option *secure_config_crypt_salt = NULL; struct t_config_option *secure_config_crypt_salt = NULL;
@@ -94,46 +94,86 @@ secure_config_get_passphrase_from_user (const char *error)
} }
/* /*
* Gets passphrase from a command. * Gets passphrase from a file.
* *
* Returns passphrase from command output (only the first line with max length * Returns passphrase read in file (only the first line with max length of
* of SECURE_PASSPHRASE_MAX_LENGTH chars), or NULL if error. * 1024 chars), or NULL if error.
* *
* Note: result must be freed after use. * Note: result must be freed after use.
*/ */
char * char *
secure_config_get_passphrase_from_command (const char *command) secure_config_get_passphrase_from_file (const char *filename)
{ {
FILE *file; FILE *file;
char *passphrase, *pos, buffer[SECURE_PASSPHRASE_MAX_LENGTH + 1]; char *passphrase, *filename2, buffer[1024+1], *pos;
size_t num_read; size_t num_read;
passphrase = NULL; passphrase = NULL;
file = popen (command, "r"); filename2 = string_expand_home (filename);
if (!file) if (!filename2)
return NULL; return NULL;
num_read = fread (buffer, 1, sizeof (buffer) - 1, file); file = fopen (filename2, "r");
if (num_read > 0) if (file)
{ {
buffer[num_read] = '\0'; num_read = fread (buffer, 1, sizeof (buffer) - 1, file);
pos = strchr (buffer, '\r'); if (num_read > 0)
if (pos) {
pos[0] = '\0'; buffer[num_read] = '\0';
pos = strchr (buffer, '\n'); pos = strchr (buffer, '\r');
if (pos) if (pos)
pos[0] = '\0'; pos[0] = '\0';
if (buffer[0]) pos = strchr (buffer, '\n');
passphrase = strdup (buffer); if (pos)
pos[0] = '\0';
if (buffer[0])
passphrase = strdup (buffer);
}
fclose (file);
} }
pclose (file); free (filename2);
return passphrase; return passphrase;
} }
/*
* Checks option "sec.crypt.passphrase_file".
*/
int
secure_config_check_crypt_passphrase_file (const void *pointer, void *data,
struct t_config_option *option,
const char *value)
{
char *passphrase;
/* make C compiler happy */
(void) pointer;
(void) data;
(void) option;
/* empty value is OK in option (no file used for passphrase) */
if (!value || !value[0])
return 1;
passphrase = secure_config_get_passphrase_from_file (value);
if (passphrase)
free (passphrase);
else
{
gui_chat_printf (NULL,
_("%sWarning: unable to read passphrase from file "
"\"%s\""),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
value);
}
return 1;
}
/* /*
* Reloads secured data configuration file. * Reloads secured data configuration file.
* *
@@ -199,15 +239,10 @@ secure_config_data_read_cb (const void *pointer, void *data,
secure_data_encrypted = config_file_string_to_boolean (value); secure_data_encrypted = config_file_string_to_boolean (value);
if (secure_data_encrypted && !secure_passphrase && !gui_init_ok) if (secure_data_encrypted && !secure_passphrase && !gui_init_ok)
{ {
/* /* if a passphrase file is set, use it */
* if a passphrase command is set, read passphrase from the output if (CONFIG_STRING(secure_config_crypt_passphrase_file)[0])
* of the command secure_passphrase = secure_config_get_passphrase_from_file (
*/ CONFIG_STRING(secure_config_crypt_passphrase_file));
if (CONFIG_STRING(secure_config_crypt_passphrase_command)[0])
{
secure_passphrase = secure_config_get_passphrase_from_command (
CONFIG_STRING(secure_config_crypt_passphrase_command));
}
/* ask passphrase to the user (if no file, or file not found) */ /* ask passphrase to the user (if no file, or file not found) */
if (!secure_passphrase) if (!secure_passphrase)
@@ -479,17 +514,19 @@ secure_config_init_options ()
N_("hash algorithm used to check the decrypted data"), N_("hash algorithm used to check the decrypted data"),
"sha224|sha256|sha384|sha512", 0, 0, "sha256", NULL, 0, "sha224|sha256|sha384|sha512", 0, 0, "sha256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
secure_config_crypt_passphrase_command = config_file_new_option ( secure_config_crypt_passphrase_file = config_file_new_option (
secure_config_file, ptr_section, secure_config_file, ptr_section,
"passphrase_command", "string", "passphrase_file", "string",
N_("read the passphrase from the output of this system command " N_("path to a file containing the passphrase to encrypt/decrypt secured "
"(only the first line is used and it must not contain any extra " "data; this option is used only when reading file sec.conf; only "
"character); this option is used only when reading file sec.conf " "first line of file is used; this file is used only if the "
"and if the environment variable \"WEECHAT_PASSPHRASE\" is not set " "environment variable \"WEECHAT_PASSPHRASE\" is not set (the "
"(the environment variable has higher priority); " "environment variable has higher priority); security note: it is "
"example with password-store: \"pass show weechat/passphrase\""), "recommended to keep this file readable only by you and store it "
"outside WeeChat home (for example in your home); example: "
"\"~/.weechat-passphrase\""),
NULL, 0, 0, "", NULL, 0, NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL, &secure_config_check_crypt_passphrase_file, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL); NULL, NULL, NULL);
secure_config_crypt_salt = config_file_new_option ( secure_config_crypt_salt = config_file_new_option (
+1 -1
View File
@@ -27,7 +27,7 @@ extern struct t_config_section *secure_config_section_pwd;
extern struct t_config_option *secure_config_crypt_cipher; extern struct t_config_option *secure_config_crypt_cipher;
extern struct t_config_option *secure_config_crypt_hash_algo; extern struct t_config_option *secure_config_crypt_hash_algo;
extern struct t_config_option *secure_config_crypt_passphrase_command; extern struct t_config_option *secure_config_crypt_passphrase_file;
extern struct t_config_option *secure_config_crypt_salt; extern struct t_config_option *secure_config_crypt_salt;
extern int secure_config_read (); extern int secure_config_read ();
-29
View File
@@ -31,7 +31,6 @@
#include "wee-config-file.h" #include "wee-config-file.h"
#include "wee-crypto.h" #include "wee-crypto.h"
#include "wee-hashtable.h" #include "wee-hashtable.h"
#include "wee-hook.h"
#include "wee-secure.h" #include "wee-secure.h"
#include "wee-secure-config.h" #include "wee-secure-config.h"
#include "wee-string.h" #include "wee-string.h"
@@ -494,24 +493,6 @@ secure_decrypt_data_not_decrypted (const char *passphrase)
return num_ok; return num_ok;
} }
/*
* Returns secured data hashtable.
*/
struct t_hashtable *
secure_info_hashtable_secured_data_cb (const void *pointer, void *data,
const char *info_name,
struct t_hashtable *hashtable)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) info_name;
(void) hashtable;
return hashtable_dup (secure_hashtable_data);
}
/* /*
* Initializes secured data. * Initializes secured data.
* *
@@ -554,16 +535,6 @@ secure_init ()
return 0; return 0;
} }
/* info (hashtable) with the secured data */
hook_info_hashtable (
NULL,
"secured_data",
N_("secured data"),
NULL,
N_("secured data: names and values (be careful: the values are "
"sensitive data: do NOT print/log them anywhere)"),
&secure_info_hashtable_secured_data_cb, NULL, NULL);
return 1; return 1;
} }
+1 -1
View File
@@ -532,7 +532,7 @@ gui_chat_display_word (struct t_gui_window *window,
gui_window_restore_style (GUI_WINDOW_OBJECTS(window)->win_chat); gui_window_restore_style (GUI_WINDOW_OBJECTS(window)->win_chat);
} }
} }
if (!simulate && (window->win_chat_cursor_y < window->coords_size)) if (window->win_chat_cursor_y < window->coords_size)
{ {
window->coords[window->win_chat_cursor_y].line = line; window->coords[window->win_chat_cursor_y].line = line;
window->coords[window->win_chat_cursor_y].data = (char *)word + (ptr_data - data); window->coords[window->win_chat_cursor_y].data = (char *)word + (ptr_data - data);
+19 -17
View File
@@ -1235,17 +1235,13 @@ gui_window_switch_to_buffer (struct t_gui_window *window,
gui_buffer_visited_add (window->buffer); gui_buffer_visited_add (window->buffer);
gui_buffer_visited_add (buffer); gui_buffer_visited_add (buffer);
} }
if (set_last_read if (set_last_read)
&& CONFIG_BOOLEAN(config_look_read_marker_update_on_buffer_switch))
{ {
if (window->buffer->num_displayed == 0) if (window->buffer->num_displayed == 0)
{ {
window->buffer->lines->last_read_line = window->buffer->lines->last_line; window->buffer->lines->last_read_line = window->buffer->lines->last_line;
window->buffer->lines->first_line_not_read = 0; window->buffer->lines->first_line_not_read = 0;
} }
}
if (set_last_read)
{
/* /*
* if there is no line displayed after last read line, * if there is no line displayed after last read line,
* then remove the read marker * then remove the read marker
@@ -1264,12 +1260,8 @@ gui_window_switch_to_buffer (struct t_gui_window *window,
gui_buffer_set_active_buffer (buffer); gui_buffer_set_active_buffer (buffer);
gui_buffer_compute_num_displayed (); gui_buffer_compute_num_displayed ();
if (!weechat_upgrading if (!weechat_upgrading && (old_buffer != buffer))
&& (old_buffer != buffer)
&& CONFIG_BOOLEAN(config_look_hotlist_update_on_buffer_switch))
{
gui_hotlist_remove_buffer (buffer, 0); gui_hotlist_remove_buffer (buffer, 0);
}
/* remove unused bars and add missing bars in window */ /* remove unused bars and add missing bars in window */
gui_bar_window_remove_unused_bars (window); gui_bar_window_remove_unused_bars (window);
@@ -1706,7 +1698,7 @@ gui_window_auto_resize (struct t_gui_window_tree *tree,
else else
{ {
tree->window->win_width_pct = (tree == parent->child1) ? tree->window->win_width_pct = (tree == parent->child1) ?
100 - parent->split_pct : parent->split_pct; parent->split_pct : 100 - parent->split_pct;
tree->window->win_height_pct = 100; tree->window->win_height_pct = 100;
} }
} }
@@ -1729,8 +1721,8 @@ gui_window_auto_resize (struct t_gui_window_tree *tree,
else else
{ {
separator = (CONFIG_BOOLEAN(config_look_window_separator_vertical)) ? 1 : 0; separator = (CONFIG_BOOLEAN(config_look_window_separator_vertical)) ? 1 : 0;
size2 = (width * tree->split_pct) / 100; size1 = (width * tree->split_pct) / 100;
size1 = width - size2 - separator; size2 = width - size1 - separator;
if (gui_window_auto_resize (tree->child1, x, y, if (gui_window_auto_resize (tree->child1, x, y,
size1, height, simulate) < 0) size1, height, simulate) < 0)
return -1; return -1;
@@ -1885,8 +1877,8 @@ gui_window_split_vertical (struct t_gui_window *window, int percentage)
separator = (CONFIG_BOOLEAN(config_look_window_separator_vertical)) ? 1 : 0; separator = (CONFIG_BOOLEAN(config_look_window_separator_vertical)) ? 1 : 0;
width2 = (window->win_width * percentage) / 100; width1 = (window->win_width * percentage) / 100;
width1 = window->win_width - width2 - separator; width2 = window->win_width - width1 - separator;
if ((width1 >= 1) && (width2 >= 1) if ((width1 >= 1) && (width2 >= 1)
&& (percentage > 0) && (percentage < 100)) && (percentage > 0) && (percentage < 100))
@@ -1935,10 +1927,15 @@ gui_window_resize (struct t_gui_window_tree *tree, int percentage)
if (parent) if (parent)
{ {
old_split_pct = parent->split_pct; old_split_pct = parent->split_pct;
if (tree == parent->child2) if (((parent->split_horizontal) && (tree == parent->child2))
|| ((!(parent->split_horizontal)) && (tree == parent->child1)))
{
parent->split_pct = percentage; parent->split_pct = percentage;
}
else else
{
parent->split_pct = 100 - percentage; parent->split_pct = 100 - percentage;
}
add_bottom = gui_bar_root_get_size (NULL, GUI_BAR_POSITION_BOTTOM); add_bottom = gui_bar_root_get_size (NULL, GUI_BAR_POSITION_BOTTOM);
add_top = gui_bar_root_get_size (NULL, GUI_BAR_POSITION_TOP); add_top = gui_bar_root_get_size (NULL, GUI_BAR_POSITION_TOP);
@@ -1972,10 +1969,15 @@ gui_window_resize_delta (struct t_gui_window_tree *tree, int delta_percentage)
if (parent) if (parent)
{ {
old_split_pct = parent->split_pct; old_split_pct = parent->split_pct;
if (tree == parent->child2) if (((parent->split_horizontal) && (tree == parent->child2))
|| ((!(parent->split_horizontal)) && (tree == parent->child1)))
{
parent->split_pct += delta_percentage; parent->split_pct += delta_percentage;
}
else else
{
parent->split_pct -= delta_percentage; parent->split_pct -= delta_percentage;
}
if (parent->split_pct < 1) if (parent->split_pct < 1)
parent->split_pct = 1; parent->split_pct = 1;
else if (parent->split_pct > 99) else if (parent->split_pct > 99)
-2
View File
@@ -20,8 +20,6 @@
#ifndef WEECHAT_GUI_HOTLIST_H #ifndef WEECHAT_GUI_HOTLIST_H
#define WEECHAT_GUI_HOTLIST_H #define WEECHAT_GUI_HOTLIST_H
#include <sys/time.h>
enum t_gui_hotlist_priority enum t_gui_hotlist_priority
{ {
GUI_HOTLIST_LOW = 0, GUI_HOTLIST_LOW = 0,
+4 -14
View File
@@ -103,23 +103,16 @@ buflist_bar_item_get_index_with_pointer (struct t_gui_bar_item *item)
/* /*
* Updates buflist bar item if buflist is enabled (or if force argument is 1). * Updates buflist bar item if buflist is enabled (or if force argument is 1).
*
* If force == 1, all used items are refreshed
* (according to option buflist.look.use_items).
* If force == 2, all items are refreshed.
*/ */
void void
buflist_bar_item_update (int force) buflist_bar_item_update (int force)
{ {
int i, num_items; int i;
if (force || weechat_config_boolean (buflist_config_look_enabled)) if (force || weechat_config_boolean (buflist_config_look_enabled))
{ {
num_items = (force == 2) ? for (i = 0; i < BUFLIST_BAR_NUM_ITEMS; i++)
BUFLIST_BAR_NUM_ITEMS :
weechat_config_integer (buflist_config_look_use_items);
for (i = 0; i < num_items; i++)
{ {
weechat_bar_item_update (buflist_bar_item_get_name (i)); weechat_bar_item_update (buflist_bar_item_get_name (i));
} }
@@ -325,17 +318,14 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
if (!weechat_config_boolean (buflist_config_look_enabled)) if (!weechat_config_boolean (buflist_config_look_enabled))
return NULL; return NULL;
item_index = (int)((unsigned long)pointer);
if (item_index + 1 > weechat_config_integer (buflist_config_look_use_items))
return NULL;
prev_number = -1; prev_number = -1;
line_number = 0; line_number = 0;
line_number_current_buffer = 0; line_number_current_buffer = 0;
buflist = weechat_string_dyn_alloc (256); buflist = weechat_string_dyn_alloc (256);
item_index = (int)((unsigned long)pointer);
weechat_hashtable_set (buflist_hashtable_pointers, "bar_item", item); weechat_hashtable_set (buflist_hashtable_pointers, "bar_item", item);
if (window) if (window)
weechat_hashtable_set (buflist_hashtable_pointers, "window", window); weechat_hashtable_set (buflist_hashtable_pointers, "window", window);
-27
View File
@@ -44,7 +44,6 @@ struct t_config_option *buflist_config_look_nick_prefix;
struct t_config_option *buflist_config_look_nick_prefix_empty; struct t_config_option *buflist_config_look_nick_prefix_empty;
struct t_config_option *buflist_config_look_signals_refresh; struct t_config_option *buflist_config_look_signals_refresh;
struct t_config_option *buflist_config_look_sort; struct t_config_option *buflist_config_look_sort;
struct t_config_option *buflist_config_look_use_items;
/* buflist config, format section */ /* buflist config, format section */
@@ -338,22 +337,6 @@ buflist_config_change_nick_prefix (const void *pointer, void *data,
buflist_bar_item_update (0); buflist_bar_item_update (0);
} }
/*
* Callback for changes on option "buflist.look.use_items".
*/
void
buflist_config_change_use_items (const void *pointer, void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) option;
buflist_bar_item_update (2);
}
/* /*
* Callback for changes on options needing bar item refresh. * Callback for changes on options needing bar item refresh.
*/ */
@@ -582,16 +565,6 @@ buflist_config_init ()
NULL, NULL, NULL, NULL, NULL, NULL,
&buflist_config_change_sort, NULL, NULL, &buflist_config_change_sort, NULL, NULL,
NULL, NULL, NULL); NULL, NULL, NULL);
buflist_config_look_use_items = weechat_config_new_option (
buflist_config_file, ptr_section,
"use_items", "integer",
N_("number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more "
"than one bar item slows down the display of buffers list"),
NULL, 1, BUFLIST_BAR_NUM_ITEMS, "1", NULL, 0,
NULL, NULL, NULL,
&buflist_config_change_use_items, NULL, NULL,
NULL, NULL, NULL);
/* format */ /* format */
ptr_section = weechat_config_new_section (buflist_config_file, "format", ptr_section = weechat_config_new_section (buflist_config_file, "format",
-1
View File
@@ -45,7 +45,6 @@ extern struct t_config_option *buflist_config_look_nick_prefix;
extern struct t_config_option *buflist_config_look_nick_prefix_empty; extern struct t_config_option *buflist_config_look_nick_prefix_empty;
extern struct t_config_option *buflist_config_look_signals_refresh; extern struct t_config_option *buflist_config_look_signals_refresh;
extern struct t_config_option *buflist_config_look_sort; extern struct t_config_option *buflist_config_look_sort;
extern struct t_config_option *buflist_config_look_use_items;
extern struct t_config_option *buflist_config_format_buffer; extern struct t_config_option *buflist_config_format_buffer;
extern struct t_config_option *buflist_config_format_buffer_current; extern struct t_config_option *buflist_config_format_buffer_current;
+1 -1
View File
@@ -45,7 +45,7 @@ fset_bar_item_update ()
} }
/* /*
* Returns content of bar item "fset": help on currently selected option. * Returns content of bar item "buffer_plugin": bar item with buffer plugin.
*/ */
char * char *
+1 -54
View File
@@ -472,7 +472,7 @@ irc_bar_item_nick_host (const void *pointer, void *data,
snprintf (buf, sizeof (buf), "%s%s%s", snprintf (buf, sizeof (buf), "%s%s%s",
server->nick, server->nick,
(server->host) ? "!" : "", (server->host) ? "@" : "",
(server->host) ? server->host : ""); (server->host) ? server->host : "");
return strdup (buf); return strdup (buf);
@@ -643,57 +643,6 @@ irc_bar_item_nick_modes (const void *pointer, void *data,
return buf; return buf;
} }
/*
* Returns content of bar item "nick_prefix": bar item with nick prefix.
*/
char *
irc_bar_item_nick_prefix (const void *pointer, void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
struct t_irc_server *server;
struct t_irc_channel *channel;
struct t_irc_nick *ptr_nick;
char str_prefix[64];
/* make C compiler happy */
(void) pointer;
(void) data;
(void) item;
(void) window;
(void) extra_info;
if (!buffer)
return NULL;
irc_buffer_get_server_and_channel (buffer, &server, &channel);
if (!server || !server->nick)
return NULL;
str_prefix[0] = '\0';
if (channel && (channel->type == IRC_CHANNEL_TYPE_CHANNEL))
{
ptr_nick = irc_nick_search (server, channel, server->nick);
if (ptr_nick)
{
if (weechat_config_boolean (irc_config_look_nick_mode_empty)
|| (ptr_nick->prefix[0] != ' '))
{
snprintf (str_prefix, sizeof (str_prefix), "%s%s",
weechat_color (
irc_nick_get_prefix_color_name (
server, ptr_nick->prefix[0])),
ptr_nick->prefix);
}
}
}
return (str_prefix[0]) ? strdup (str_prefix) : NULL;
}
/* /*
* Focus on nicklist. * Focus on nicklist.
*/ */
@@ -820,8 +769,6 @@ irc_bar_item_init ()
&irc_bar_item_input_prompt, NULL, NULL); &irc_bar_item_input_prompt, NULL, NULL);
weechat_bar_item_new ("irc_nick_modes", weechat_bar_item_new ("irc_nick_modes",
&irc_bar_item_nick_modes, NULL, NULL); &irc_bar_item_nick_modes, NULL, NULL);
weechat_bar_item_new ("irc_nick_prefix",
&irc_bar_item_nick_prefix, NULL, NULL);
weechat_hook_focus ("buffer_nicklist", weechat_hook_focus ("buffer_nicklist",
&irc_bar_item_focus_buffer_nicklist, NULL, NULL); &irc_bar_item_focus_buffer_nicklist, NULL, NULL);
-46
View File
@@ -400,47 +400,6 @@ irc_info_info_irc_server_isupport_value_cb (const void *pointer, void *data,
return (isupport_value) ? strdup (isupport_value) : NULL; return (isupport_value) ? strdup (isupport_value) : NULL;
} }
/*
* Returns IRC info "irc_is_message_ignored".
*/
char *
irc_info_info_irc_is_message_ignored_cb (const void *pointer, void *data,
const char *info_name,
const char *arguments)
{
char *pos_comma, *server;
const char *pos_message;
struct t_irc_server *ptr_server;
/* make C compiler happy */
(void) pointer;
(void) data;
(void) info_name;
if (!arguments || !arguments[0])
return NULL;
ptr_server = NULL;
pos_message = arguments;
pos_comma = strchr (arguments, ',');
if (!pos_comma)
return NULL;
pos_message = pos_comma + 1;
server = weechat_strndup (arguments, pos_comma - arguments);
if (server)
{
ptr_server = irc_server_search (server);
free (server);
}
if (!ptr_server)
return NULL;
return (irc_message_ignored (ptr_server, pos_message)) ?
strdup ("1") : NULL;
}
/* /*
* Returns IRC info with hashtable "irc_message_parse". * Returns IRC info with hashtable "irc_message_parse".
*/ */
@@ -1170,11 +1129,6 @@ irc_info_init ()
N_("value of feature, if supported by server (from IRC message 005)"), N_("value of feature, if supported by server (from IRC message 005)"),
N_("server,feature"), N_("server,feature"),
&irc_info_info_irc_server_isupport_value_cb, NULL, NULL); &irc_info_info_irc_server_isupport_value_cb, NULL, NULL);
weechat_hook_info (
"irc_is_message_ignored",
N_("1 if the nick is ignored (message is not displayed)"),
N_("server,message (message is the raw IRC message)"),
&irc_info_info_irc_is_channel_cb, NULL, NULL);
/* info_hashtable hooks */ /* info_hashtable hooks */
weechat_hook_info_hashtable ( weechat_hook_info_hashtable (
-52
View File
@@ -27,9 +27,7 @@
#include "../weechat-plugin.h" #include "../weechat-plugin.h"
#include "irc.h" #include "irc.h"
#include "irc-channel.h" #include "irc-channel.h"
#include "irc-color.h"
#include "irc-config.h" #include "irc-config.h"
#include "irc-ignore.h"
#include "irc-server.h" #include "irc-server.h"
@@ -540,56 +538,6 @@ irc_message_get_address_from_host (const char *host)
return address; return address;
} }
/*
* Checks if a raw message is ignored (nick ignored on this server/channel).
*
* Returns:
* 0: message not ignored (displayed)
* 1: message ignored (not displayed)
*/
int
irc_message_ignored (struct t_irc_server *server, const char *message)
{
char *nick, *host, *host_no_color, *channel;
struct t_irc_channel *ptr_channel;
int ignored;
if (!server || !message)
return 0;
/* parse raw message */
irc_message_parse (server, message,
NULL, NULL, &nick, NULL, &host,
NULL, &channel, NULL,
NULL, NULL, NULL,
NULL, NULL);
/* remove colors from host */
host_no_color = (host) ? irc_color_decode (host, 0) : NULL;
/* search channel */
ptr_channel = (channel) ? irc_channel_search (server, channel) : NULL;
/* check if message is ignored or not */
ignored = irc_ignore_check (
server,
(ptr_channel) ? ptr_channel->name : channel,
nick,
host_no_color);
if (nick)
free (nick);
if (host)
free (host);
if (host_no_color)
free (host_no_color);
if (channel)
free (channel);
return ignored;
}
/* /*
* Replaces special IRC vars ($nick, $channel, $server) in a string. * Replaces special IRC vars ($nick, $channel, $server) in a string.
* *
-2
View File
@@ -38,8 +38,6 @@ extern char *irc_message_convert_charset (const char *message,
const char *modifier_data); const char *modifier_data);
extern const char *irc_message_get_nick_from_host (const char *host); extern const char *irc_message_get_nick_from_host (const char *host);
extern const char *irc_message_get_address_from_host (const char *host); extern const char *irc_message_get_address_from_host (const char *host);
extern int irc_message_ignored (struct t_irc_server *server,
const char *message);
extern char *irc_message_replace_vars (struct t_irc_server *server, extern char *irc_message_replace_vars (struct t_irc_server *server,
const char *channel_name, const char *channel_name,
const char *string); const char *string);
+1 -2
View File
@@ -6679,8 +6679,7 @@ irc_protocol_recv_command (struct t_irc_server *server,
message_ignored = irc_ignore_check ( message_ignored = irc_ignore_check (
server, server,
(ptr_channel) ? ptr_channel->name : msg_channel, (ptr_channel) ? ptr_channel->name : msg_channel,
nick, nick, host_no_color);
host_no_color);
/* send signal with received command, even if command is ignored */ /* send signal with received command, even if command is ignored */
irc_server_send_signal (server, "irc_raw_in", msg_command, irc_server_send_signal (server, "irc_raw_in", msg_command,
+12 -10
View File
@@ -41,14 +41,14 @@ extern "C"
#define API_DEF_FUNC(__name) \ #define API_DEF_FUNC(__name) \
weechat_obj->Set( \ weechat_obj->Set( \
v8::String::New(#__name), \ v8::String::NewFromUtf8(isolate, #__name), \
v8::FunctionTemplate::New(weechat_js_api_##__name)); v8::FunctionTemplate::New(weechat_js_api_##__name));
#define API_DEF_CONST_INT(__name) \ #define API_DEF_CONST_INT(__name) \
weechat_obj->Set(v8::String::New(#__name), \ weechat_obj->Set(v8::String::NewFromUtf8(#__name), \
v8::Integer::New(__name)); v8::Integer::NewFromUtf8(__name));
#define API_DEF_CONST_STR(__name) \ #define API_DEF_CONST_STR(__name) \
weechat_obj->Set(v8::String::New(#__name), \ weechat_obj->Set(v8::String::NewFromUtf8(#__name), \
v8::String::New(__name)); v8::String::NewFromUtf8(__name));
#define API_FUNC(__name) \ #define API_FUNC(__name) \
static v8::Handle<v8::Value> \ static v8::Handle<v8::Value> \
weechat_js_api_##__name(const v8::Arguments &args) weechat_js_api_##__name(const v8::Arguments &args)
@@ -98,19 +98,20 @@ extern "C"
#define API_RETURN_OK return v8::True(); #define API_RETURN_OK return v8::True();
#define API_RETURN_ERROR return v8::False(); #define API_RETURN_ERROR return v8::False();
#define API_RETURN_EMPTY \ #define API_RETURN_EMPTY \
return v8::String::New(""); return v8::String::NewFromUtf8("");
#define API_RETURN_STRING(__string) \ #define API_RETURN_STRING(__string) \
if (__string) \ if (__string) \
return v8::String::New(__string); \ return v8::String::NewFromUtf8(__string); \
return v8::String::New("") return v8::String::NewFromUtf8("")
#define API_RETURN_STRING_FREE(__string) \ #define API_RETURN_STRING_FREE(__string) \
if (__string) \ if (__string) \
{ \ { \
v8::Handle<v8::Value> return_value = v8::String::New(__string); \ v8::Handle<v8::Value> return_value = \
v8::String::NewFromUtf8(__string); \
free ((void *)__string); \ free ((void *)__string); \
return return_value; \ return return_value; \
} \ } \
return v8::String::New("") return v8::String::NewFromUtf8("")
#define API_RETURN_INT(__int) \ #define API_RETURN_INT(__int) \
return v8::Integer::New(__int) return v8::Integer::New(__int)
#define API_RETURN_LONG(__int) \ #define API_RETURN_LONG(__int) \
@@ -4894,6 +4895,7 @@ void
WeechatJsV8::loadLibs() WeechatJsV8::loadLibs()
{ {
v8::Local<v8::ObjectTemplate> weechat_obj = v8::ObjectTemplate::New(); v8::Local<v8::ObjectTemplate> weechat_obj = v8::ObjectTemplate::New();
v8::Isolate* isolate = v8::Isolate::GetCurrent();
/* constants */ /* constants */
API_DEF_CONST_INT(WEECHAT_RC_OK); API_DEF_CONST_INT(WEECHAT_RC_OK);
+16 -7
View File
@@ -49,7 +49,9 @@ using namespace v8;
WeechatJsV8::WeechatJsV8() WeechatJsV8::WeechatJsV8()
{ {
this->global = ObjectTemplate::New(); v8::Isolate* isolate = v8::Isolate::GetCurrent();
this->global = ObjectTemplate::New(isolate);
} }
/* /*
@@ -80,7 +82,9 @@ WeechatJsV8::load(Handle<String> source)
bool bool
WeechatJsV8::load(const char *source) WeechatJsV8::load(const char *source)
{ {
Handle<String> src = String::New(source); v8::Isolate* isolate = v8::Isolate::GetCurrent();
Handle<String> src = String::NewFromUtf8(isolate, source);
return this->load(src); return this->load(src);
} }
@@ -92,7 +96,8 @@ WeechatJsV8::load(const char *source)
bool bool
WeechatJsV8::execScript() WeechatJsV8::execScript()
{ {
v8::TryCatch trycatch; v8::Isolate* isolate = v8::Isolate::GetCurrent();
v8::TryCatch trycatch(isolate);
this->context = Context::New(NULL, this->global); this->context = Context::New(NULL, this->global);
Context::Scope context_scope(this->context); Context::Scope context_scope(this->context);
@@ -126,7 +131,8 @@ WeechatJsV8::functionExists(const char *function)
Context::Scope context_scope(this->context); Context::Scope context_scope(this->context);
Handle<Object> global = this->context->Global(); Handle<Object> global = this->context->Global();
Handle<Value> value = global->Get(String::New(function)); v8::Isolate* isolate = v8::Isolate::GetCurrent();
Handle<Value> value = global->Get(String::NewFromUtf8(isolate, function));
return value->IsFunction(); return value->IsFunction();
} }
@@ -137,12 +143,13 @@ WeechatJsV8::functionExists(const char *function)
Handle<Value> Handle<Value>
WeechatJsV8::execFunction(const char *function, int argc, Handle<Value> *argv) WeechatJsV8::execFunction(const char *function, int argc, Handle<Value> *argv)
{ {
v8::TryCatch trycatch; v8::Isolate* isolate = v8::Isolate::GetCurrent();
v8::TryCatch trycatch(isolate);
Context::Scope context_scope(this->context); Context::Scope context_scope(this->context);
Handle<Object> global = this->context->Global(); Handle<Object> global = this->context->Global();
Handle<Value> value = global->Get(String::New(function)); Handle<Value> value = global->Get(String::NewFromUtf8(isolate, function));
Handle<Function> func = Handle<Function>::Cast(value); Handle<Function> func = Handle<Function>::Cast(value);
Handle<Value> res = func->Call(global, argc, argv); Handle<Value> res = func->Call(global, argc, argv);
@@ -170,5 +177,7 @@ WeechatJsV8::addGlobal(Handle<String> key, Handle<Template> val)
void void
WeechatJsV8::addGlobal(const char *key, Handle<Template> val) WeechatJsV8::addGlobal(const char *key, Handle<Template> val)
{ {
this->addGlobal(String::New(key), val); v8::Isolate* isolate = v8::Isolate::GetCurrent();
this->addGlobal(String::NewFromUtf8(isolate, key), val);
} }
+10 -4
View File
@@ -102,9 +102,11 @@ weechat_js_hashtable_map_cb (void *data,
/* make C++ compiler happy */ /* make C++ compiler happy */
(void) hashtable; (void) hashtable;
v8::Isolate* isolate = v8::Isolate::GetCurrent();
v8::Handle<v8::Object> *obj = (v8::Handle<v8::Object> *)data; v8::Handle<v8::Object> *obj = (v8::Handle<v8::Object> *)data;
(*obj)->Set(v8::String::New(key), v8::String::New(value)); (*obj)->Set(v8::String::NewFromUtf8(isolate, key),
v8::String::NewFromUtf8(isolate, value));
} }
/* /*
@@ -114,7 +116,8 @@ weechat_js_hashtable_map_cb (void *data,
v8::Handle<v8::Object> v8::Handle<v8::Object>
weechat_js_hashtable_to_object (struct t_hashtable *hashtable) weechat_js_hashtable_to_object (struct t_hashtable *hashtable)
{ {
v8::Handle<v8::Object> obj = v8::Object::New(); v8::Isolate* isolate = v8::Isolate::GetCurrent();
v8::Handle<v8::Object> obj = v8::Object::New(isolate);
weechat_hashtable_map_string (hashtable, weechat_hashtable_map_string (hashtable,
&weechat_js_hashtable_map_cb, &weechat_js_hashtable_map_cb,
@@ -185,6 +188,8 @@ weechat_js_exec (struct t_plugin_script *script,
ret_value = NULL; ret_value = NULL;
v8::Isolate* isolate = v8::Isolate::GetCurrent();
old_js_current_script = js_current_script; old_js_current_script = js_current_script;
js_current_script = script; js_current_script = script;
js_v8 = (WeechatJsV8 *)(script->interpreter); js_v8 = (WeechatJsV8 *)(script->interpreter);
@@ -206,10 +211,11 @@ weechat_js_exec (struct t_plugin_script *script,
switch (format[i]) switch (format[i])
{ {
case 's': /* string */ case 's': /* string */
argv2[i] = v8::String::New((const char *)argv[i]); argv2[i] = v8::String::NewFromUtf8(isolate,
(const char *)argv[i]);
break; break;
case 'i': /* integer */ case 'i': /* integer */
argv2[i] = v8::Integer::New(*((int *)argv[i])); argv2[i] = v8::Integer::New(isolate, *((int *)argv[i]));
break; break;
case 'h': /* hash */ case 'h': /* hash */
argv2[i] = weechat_js_hashtable_to_object ( argv2[i] = weechat_js_hashtable_to_object (
-6
View File
@@ -465,12 +465,6 @@ TEST(CoreEval, EvalExpression)
WEE_CHECK_EVAL("", "${}"); WEE_CHECK_EVAL("", "${}");
WEE_CHECK_EVAL("", "${xyz}"); WEE_CHECK_EVAL("", "${xyz}");
/* test raw string */
WEE_CHECK_EVAL("${info:version}", "${raw:${info:version}}");
WEE_CHECK_EVAL("yes", "${if:${raw:test?}==${raw:test?}?yes:no}");
WEE_CHECK_EVAL("no", "${if:${raw:test?}==${raw:test}?yes:no}");
WEE_CHECK_EVAL("16", "${length:${raw:${buffer.number}}}");
/* test eval of substring */ /* test eval of substring */
WEE_CHECK_EVAL("\t", "${eval:${\\t}}"); WEE_CHECK_EVAL("\t", "${eval:${\\t}}");
@@ -29,7 +29,6 @@ extern "C"
#include "src/core/wee-hashtable.h" #include "src/core/wee-hashtable.h"
#include "src/core/wee-hook.h" #include "src/core/wee-hook.h"
#include "src/plugins/irc/irc-config.h" #include "src/plugins/irc/irc-config.h"
#include "src/plugins/irc/irc-ignore.h"
#include "src/plugins/irc/irc-message.h" #include "src/plugins/irc/irc-message.h"
#include "src/plugins/irc/irc-server.h" #include "src/plugins/irc/irc-server.h"
} }
@@ -648,46 +647,6 @@ TEST(IrcMessage, GetAddressFromHost)
irc_message_get_address_from_host (NICK_256_WITH_SPACE)); irc_message_get_address_from_host (NICK_256_WITH_SPACE));
} }
/*
* Tests functions:
* irc_message_ignored
*/
TEST(IrcMessage, Ignored)
{
struct t_irc_server *server;
struct t_irc_ignore *ignore1, *ignore2;
server = irc_server_alloc ("test_ignore");
CHECK(server);
ignore1 = irc_ignore_new ("^alice@host1$", "test_ignore", "#test1");
ignore2 = irc_ignore_new ("^bob@host2$", "test_ignore", "#test2");
LONGS_EQUAL(0, irc_message_ignored (NULL, NULL));
LONGS_EQUAL(0, irc_message_ignored (NULL, ""));
LONGS_EQUAL(0, irc_message_ignored (NULL,
":alice@host1 PRIVMSG #test1 :hi!"));
LONGS_EQUAL(1, irc_message_ignored (server,
":alice@host1 PRIVMSG #test1 :hi!"));
LONGS_EQUAL(0, irc_message_ignored (server,
":alice@host1 PRIVMSG #test :hi!"));
LONGS_EQUAL(0, irc_message_ignored (server,
":alice@host2 PRIVMSG #test1 :hi!"));
LONGS_EQUAL(1, irc_message_ignored (server,
":bob@host2 PRIVMSG #test2 :hi!"));
LONGS_EQUAL(0, irc_message_ignored (server,
":bob@host2 PRIVMSG #test :hi!"));
LONGS_EQUAL(0, irc_message_ignored (server,
":bob2@host2 PRIVMSG #test2 :hi!"));
irc_ignore_free (ignore1);
irc_ignore_free (ignore2);
irc_server_free (server);
}
/* /*
* Tests functions: * Tests functions:
* irc_message_replace_vars * irc_message_replace_vars
+2 -2
View File
@@ -32,9 +32,9 @@
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2) # devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
# #
WEECHAT_STABLE=3.1 WEECHAT_STABLE=3.0
WEECHAT_DEVEL=3.1 WEECHAT_DEVEL=3.1
WEECHAT_DEVEL_FULL=3.1 WEECHAT_DEVEL_FULL=3.1-dev
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch" echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
+1 -5
View File
@@ -23,7 +23,7 @@
# #
%define name weechat %define name weechat
%define version 3.1 %define version 3.0
%define release 1 %define release 1
Name: %{name} Name: %{name}
@@ -82,10 +82,6 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/share/icons/hicolor/512x512/apps/weechat.png %{_prefix}/share/icons/hicolor/512x512/apps/weechat.png
%changelog %changelog
* Sun Mar 07 2021 Sébastien Helleu <flashcode@flashtux.org> 3.1-1
- Released version 3.1
* Sun Jan 31 2021 Sébastien Helleu <flashcode@flashtux.org> 3.0.1-1
- Released version 3.0.1
* Wed Nov 11 2020 Sébastien Helleu <flashcode@flashtux.org> 3.0-1 * Wed Nov 11 2020 Sébastien Helleu <flashcode@flashtux.org> 3.0-1
- Released version 3.0 - Released version 3.0
* Sat Jul 18 2020 Sébastien Helleu <flashcode@flashtux.org> 2.9-1 * Sat Jul 18 2020 Sébastien Helleu <flashcode@flashtux.org> 2.9-1