doc: update Polish auto-generated files
parent
b50f100dbb
commit
a072d769fd
|
@ -80,7 +80,7 @@
|
|||
|
||||
| tcl | tcl_version | wersja użytego interpretera | -
|
||||
|
||||
| weechat | auto_connect | 1 if automatic connection to servers is enabled, 0 if it has been disabled by the user (option "-a" or "--no-connect") | -
|
||||
| weechat | auto_connect | 1 jeśli automatycznie łączenie z serwerami jest włączone, 0 jeśli zostało wyłączone przez użytkownika (opcja "-a" lub "--no-connect") | -
|
||||
|
||||
| weechat | charset_internal | wewnętrzne kodowanie WeeChat | -
|
||||
|
||||
|
@ -132,7 +132,7 @@
|
|||
|
||||
| weechat | weechat_dir | katalog WeeChat | -
|
||||
|
||||
| weechat | weechat_headless | 1 if WeeChat is running headless | -
|
||||
| weechat | weechat_headless | 1 jeśli WeeChat działa w trybie bez interfejsu | -
|
||||
|
||||
| weechat | weechat_libdir | katalog "lib" WeeChata | -
|
||||
|
||||
|
|
|
@ -9,45 +9,45 @@
|
|||
/buflist bar
|
||||
refresh
|
||||
|
||||
bar: add the "buflist" bar
|
||||
refresh: force the refresh of the bar items (buflist, buflist2 and buflist3)
|
||||
bar: dodaje pasek "buflist"
|
||||
refresh: wymusza odświeżenie elementów paska (buflist, buflist2 oraz buflist3)
|
||||
|
||||
The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options:
|
||||
- buflist.look.display_conditions: conditions to display a buffer in the list
|
||||
- buflist.format.buffer: format for a buffer which is not current buffer
|
||||
- buflist.format.buffer_current: format for the current buffer
|
||||
Linie z buforami są wyświetlane za pomocą przetwarzania ciągów (zobacz /help eval żeby poznać format), za pomocą tych opcji:
|
||||
- buflist.look.display_conditions: warunki wyświetlenia buforu na liście
|
||||
- buflist.format.buffer: format dla buforu nie będącego obecnym buforem
|
||||
- buflist.format.buffer_current: format format dla obecnego buforu
|
||||
|
||||
The following variables can be used in these options:
|
||||
- bar item data (see hdata "bar_item" in API doc for a complete list), for example:
|
||||
Następujące zmienne mogą być użyte w powyższych opcjach:
|
||||
- dane elementu paska (pełną listę można znaleźć w dokumentacji API dla hdata "bar_item"), na przykład:
|
||||
- ${bar_item.name}
|
||||
- window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example:
|
||||
- dane okna, w którym element paska jest wyświetlany (okna nie ma w głównych paskach, zobacz hdata "window" w dokumentacji API dla pełnej listy zmiennych), na przykład:
|
||||
- ${window.number}
|
||||
- ${window.buffer.full_name}
|
||||
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
|
||||
- dane buforu (zobacz hdata "buffer" w dokumentacji API dla pełnej listy zmiennych), na przykład:
|
||||
- ${buffer.number}
|
||||
- ${buffer.name}
|
||||
- ${buffer.full_name}
|
||||
- ${buffer.short_name}
|
||||
- ${buffer.nicklist_nicks_count}
|
||||
- irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc)
|
||||
- irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc)
|
||||
- extra variables added by buflist for convenience:
|
||||
- ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example
|
||||
- ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...}
|
||||
- ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...}
|
||||
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
|
||||
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number
|
||||
- ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers
|
||||
- ${number_displayed}: "1" if the number is displayed, otherwise "0"
|
||||
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
|
||||
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)
|
||||
- ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
|
||||
- ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
|
||||
- ${format_name}: formatted name (evaluation of option buflist.format.name)
|
||||
- ${name}: the short name (if set), with a fallback on the name
|
||||
- ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
|
||||
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||
- ${hotlist}: the raw hotlist
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||
- irc_server: dane serwera IRC, zdefiniowane tylko w buforze IRC (zobacz hdata "irc_server" w dokumentacji API)
|
||||
- irc_channel: dane kanału IRC, zdefiniowane tylko w buforze kanału IRC (zobacz hdata "irc_channel" w dokumentacji API)
|
||||
- dodatkowe zmienne dodane dla wygody przez listę buforów:
|
||||
- ${format_buffer}: przetworzona wartość opcji buflist.format.buffer; może to zostać użyte w opcji buflist.format.buffer_current na przykład do zmiany koloru tła
|
||||
- ${current_buffer}: boolowskie ("0" lub "1"), "1" jeśli jest to obecny bufor; może zostać użyte w warunku: ${if: ${current_buffer}?...:...}
|
||||
- ${merged}: boolowskie ("0" lub "1"), "1" jeśli bufor jest połączony z przynajmniej jednym innym buforem; może zostać użyte w warunku: ${if:${merged}?...:...}
|
||||
- ${format_number}: wyrównany numer z separatorem (przetworzona opcja buflist.format.number)
|
||||
- ${number}: wyrównany numer, na przykład " 1" jeśli buforów jest między 10 a 99
|
||||
- ${number2}: wyrównany numer, na przykład " 1" jeśli buforów jest między 10 a 99
|
||||
- ${number_displayed}: "1" jeśli numer jest wyświetlany, w przeciwnym wypadku "0"
|
||||
- ${indent}: wyrównanie dla nazwy (kanały i bufory prywatne są wyrównywane) (przetworzona opcja buflist.format.indent)
|
||||
- ${format_nick_prefix}: kolorowy prefiks nicka dla kanału (przetworzona opcja buflist.format.nick_prefix)
|
||||
- ${color_nick_prefix}: kolor prefiksu nicka dla kanału (ustawiany, jeśli opcja buflist.look.nick_prefix jest włączona)
|
||||
- ${nick_prefix}: prefix nicka dla kanału (ustawiany, jeśli opcja buflist.look.nick_prefix jest włączona)
|
||||
- ${format_name}: sformatowana nazwa (przetworzona opcja buflist.format.name)
|
||||
- ${name}: skrócona nazwa (jeśli ustawiona inaczej zwraca pełną nazwę)
|
||||
- ${color_hotlist}: kolor zależący od najwyższego poziomu hotlisty dla bufora (przetworzona opcja buflist.format.hotlist_xxx, gdzie xxx to poziom)
|
||||
- ${format_hotlist}: sformatowana hotlista (przetworzenie opcji buflist.format.hotlist)
|
||||
- ${hotlist}: niesformatowana hotlista
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" lub "highlight"
|
||||
- ${format_lag}: opóźnienie buforu serwera IRC, puste jeśli nie ma opóźnienia (przetworzona opcja buflist.format.lag)
|
||||
----
|
||||
|
|
|
@ -393,13 +393,13 @@
|
|||
** domyślna wartość: `+"/unset ${name}"+`
|
||||
|
||||
* [[option_fset.format.option1]] *fset.format.option1*
|
||||
** opis: pass:none[first format of each line, used when option fset.look.format_number is set to 1 (note: content is evaluated, see /help fset); an empty string uses the default format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X]
|
||||
** opis: pass:none[pierwszy format dla każdej linii, użyty kiedy opcja fset.look.format_number ma wartość 1 (uwaga: zawartość jest przetwarzana, zobacz /help fset); pusty ciąg używa domyślnego formatu ("${marked} ${name} ${type} ${value2}"), który nie przetwarza ciągów, przez co jest szybszy; formaty można zmienić za pomocą ctrl-X]
|
||||
** typ: ciąg
|
||||
** wartości: dowolny ciąg
|
||||
** domyślna wartość: `+""+`
|
||||
|
||||
* [[option_fset.format.option2]] *fset.format.option2*
|
||||
** opis: pass:none[second format of each line, used when option fset.look.format_number is set to 2 (note: content is evaluated, see /help fset); an empty string uses the default format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X]
|
||||
** opis: pass:none[drugi format dla każdej linii, użyty kiedy opcja fset.look.format_number ma wartość 2 (uwaga: zawartość jest przetwarzana, zobacz /help fset); pusty ciąg używa domyślnego formatu ("${marked} ${name} ${type} ${value2}"), który nie przetwarza ciągów, przez co jest szybszy; formaty można zmienić za pomocą ctrl-X]
|
||||
** typ: ciąg
|
||||
** wartości: dowolny ciąg
|
||||
** domyślna wartość: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
|
|
@ -765,7 +765,7 @@
|
|||
** domyślna wartość: `+""+`
|
||||
|
||||
* [[option_irc.server_default.ssl_password]] *irc.server_default.ssl_password*
|
||||
** opis: pass:none[password for SSL certificate's private key; only used with gnutls version >= 3.1.0 (note: content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)]
|
||||
** opis: pass:none[hasło do klucza prywatnego certyfikatu SSL; tylko dla gnutls w wersji >= 3.1.0 (uwaga: zawartość jest przetwarzana zobacz /help eval; opcje serwera są przetwarzane w postaci ${irc_server.xxx}, ${server} jest zastępowany nazwą serwera)]
|
||||
** typ: ciąg
|
||||
** wartości: dowolny ciąg
|
||||
** domyślna wartość: `+""+`
|
||||
|
|
|
@ -263,72 +263,72 @@ infolists: wyświetla informacje o infolistach
|
|||
* `+eval+`: przetwórz wyrażenie
|
||||
|
||||
----
|
||||
/eval [-n|-s] [-d] <expression>
|
||||
[-n] [-d] -c <expression1> <operator> <expression2>
|
||||
/eval [-n|-s] [-d] <wyrażenie>
|
||||
[-n] [-d ] -c <wyrażenie1> <operator> <wyrażenie2>
|
||||
|
||||
-n: display result without sending it to buffer (debug mode)
|
||||
-s: split expression before evaluating it (many commands can be separated by semicolons)
|
||||
-d: display debug output after evaluation
|
||||
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
|
||||
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
|
||||
operator: a logical or comparison operator:
|
||||
- logical operators:
|
||||
&& boolean "and"
|
||||
|| boolean "or"
|
||||
- comparison operators:
|
||||
== equal
|
||||
!= not equal
|
||||
<= less or equal
|
||||
< less
|
||||
>= greater or equal
|
||||
> greater
|
||||
=~ is matching POSIX extended regex
|
||||
!~ is NOT matching POSIX extended regex
|
||||
=* is matching mask (wildcard "*" is allowed)
|
||||
!* is NOT matching mask (wildcard "*" is allowed)
|
||||
-n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
|
||||
-s: podziel wyrażenie przed przetworzeniem go (wiele komend może być oddzielonych średnikami)
|
||||
-d: wyświetl wyjście debugowe po ewaluacji
|
||||
-c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
|
||||
wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
|
||||
operator: operator logiczny lub porównania:
|
||||
- operatory logiczne:
|
||||
&& logiczne "i"
|
||||
|| logiczne "lub"
|
||||
- operatory porównania:
|
||||
== równy
|
||||
!= różny
|
||||
<= mniejszy lub równy
|
||||
< mniejszy
|
||||
>= większy lub równy
|
||||
> większy
|
||||
=~ pasuje do rozszerzonego wyrażenia regularnego POSIX
|
||||
!~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
|
||||
=* pasuje do maski (dzika karta "*" dozwolona)
|
||||
!* NIE pasuje do maski (dzika karta "*" dozwolona)
|
||||
|
||||
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
|
||||
The comparison is made using floating point numbers if the two expressions are valid numbers, with one of the following formats:
|
||||
- integer (examples: 5, -7)
|
||||
- floating point number (examples: 5.2, -7.5, 2.83e-2)
|
||||
- hexadecimal number (examples: 0xA3, -0xA3)
|
||||
To force a string comparison, you can add double quotes around each expression, for example:
|
||||
Wyrażenie jest uznawane za „prawdziwe” jeśli nie jest NULL, nie jest puste, oraz różni się od "0".
|
||||
Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi, w jednym z następujących formatów:
|
||||
- liczby całkowite (przykłady: 5, -7)
|
||||
- liczby zmiennoprzecinkowe (przykłady: 5.2, -7.5, 2.83e-2)
|
||||
- liczby szesnastkowe (przykłady: 0xA3, -0xA3)
|
||||
W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
|
||||
1. an evaluated sub-string (format: "eval:xxx")
|
||||
2. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
3. a string with chars to hide (format: "hide:char,string")
|
||||
4. 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")
|
||||
5. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
6. a repeated string (format: "repeat:count,string")
|
||||
7. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
8. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
9. a modifier (format: "modifier:name,data,string")
|
||||
10. an info (format: "info:name,arguments", arguments are optional)
|
||||
11. current date/time (format: "date" or "date:format")
|
||||
12. an environment variable (format: "env:XXX")
|
||||
13. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
14. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
15. an option (format: "file.section.option")
|
||||
16. a local variable in buffer
|
||||
17. 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:
|
||||
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:
|
||||
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
|
||||
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
|
||||
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
|
||||
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
|
||||
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
||||
Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
|
||||
1. przetworzony ciąg (format: "eval:xxx")
|
||||
2. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
|
||||
3. ciąg ze znakami do ukrycia (format: "hide:char,string")
|
||||
4. 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")
|
||||
5. odwrócony ciąg (format: "rev:xxx")
|
||||
6. powtórzony ciąg (format: "repeat:ilość,ciąg")
|
||||
7. długość ciągu (format: "length:xxx" or "lengthscr:xxx")
|
||||
8. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color")
|
||||
9. modyfikator (format: "modifier:name,data,string")
|
||||
10. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
|
||||
11. obecna data/czas (format: "date" lub "date:format")
|
||||
12. zmienna środowiskowa (format: "env:XXX")
|
||||
13. wyrażenie warunkowe (format: "if:condition?value_if_true:value_if_false")
|
||||
14. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "calc:xxx")
|
||||
15. opcja (format: plik.sekcja.opcja)
|
||||
16 zmienna lokalna w buforze
|
||||
17. 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:
|
||||
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:
|
||||
${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
|
||||
${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:
|
||||
${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".
|
||||
|
||||
Examples (simple strings):
|
||||
Przykłady (proste ciągi):
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${sec.data.freenode_password} ==> secret
|
||||
/eval -n ${sec.data.freenode_password} ==> secret
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
|
@ -344,7 +344,7 @@ Examples (simple strings):
|
|||
/eval -n ${length:test} ==> 4
|
||||
/eval -n ${calc:(5+2)*3} ==> 21
|
||||
|
||||
Examples (conditions):
|
||||
Przykłady (warunki):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
/eval -n -c ${window.win_width} > 100 ==> 1
|
||||
/eval -n -c (8 > 12) || (5 > 2) ==> 1
|
||||
|
|
Loading…
Reference in New Issue