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

Compare commits

...

22 Commits

Author SHA1 Message Date
Sébastien Helleu d50d32629f core: add CVE ids in ChangeLog 2020-03-02 20:43:10 +01:00
Sébastien Helleu 5c0aa1aae7 Version 2.7.1 2020-02-20 20:45:08 +01:00
Sébastien Helleu c827d6fa86 irc: fix crash when receiving a malformed message 352 (who)
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-14 08:14:31 +01:00
Sébastien Helleu 694b5c9f87 irc: fix crash when a new message 005 is received with longer nick prefixes
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-14 08:11:02 +01:00
Sébastien Helleu 51a739df61 irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-14 08:08:23 +01:00
Sébastien Helleu 410a12b2ae Version 2.7.1-dev 2020-02-14 08:05:19 +01:00
Sébastien Helleu 236dbe3f62 Version 2.7 2019-12-08 09:48:53 +01:00
Sébastien Helleu 632755d51d core: remove obsolete file FindTCL.cmake from root Makefile.am 2019-12-08 09:23:35 +01:00
Sébastien Helleu ee52c8ceae debian: fix debian/wheezy and ubuntu/trusty patches 2019-12-08 09:13:46 +01:00
Sébastien Helleu dda3ac7963 debian: update changelog 2019-12-08 08:23:07 +01:00
Sébastien Helleu e81d0787e4 debian: bump Standards-Version to 4.4.0 2019-12-08 08:22:45 +01:00
Sébastien Helleu 54aa8b82b3 doc: update Polish auto-generated files 2019-12-01 18:03:07 +01:00
Krzysztof Korościk 39ae55322d doc: updated polish traslation 2019-12-01 17:14:12 +01:00
Krzysztof Korościk 10f4e16695 po: update polish translation 2019-12-01 16:24:32 +01:00
Sébastien Helleu cfd7d31f95 doc: update German auto-generated files 2019-12-01 11:42:49 +01:00
Nils Görs 621b87ea8a core: update German translations 2019-11-29 09:17:37 +01:00
Sébastien Helleu c947d1575f core: exit makedist.sh script if command "cd" failed 2019-11-28 21:28:07 +01:00
Sébastien Helleu d876ec49fc core: replace "! -z" by "-n" in build-debian.sh 2019-11-28 21:27:43 +01:00
Sébastien Helleu d2300e62af core: replace "-o" by "||" in tools scripts 2019-11-28 21:26:45 +01:00
Sébastien Helleu a727516e0d core: run command and check return code on same line in tools scripts 2019-11-28 21:25:47 +01:00
Sébastien Helleu c0e48b0370 core: double quote variables in tools scripts 2019-11-28 21:23:59 +01:00
Sébastien Helleu 45509c3560 core: double quote variables in script autogen.sh 2019-11-27 20:17:48 +01:00
37 changed files with 505 additions and 394 deletions
+10 -1
View File
@@ -15,8 +15,17 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
[[v2.7.1]]
== Version 2.7.1 (2020-02-20)
Bug fixes::
* irc: fix crash when a new message 005 is received with longer nick prefixes (CVE-2020-9760)
* irc: fix crash when receiving a malformed message 352 (who) (CVE-2020-9759)
* irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
[[v2.7]]
== Version 2.7 (under dev)
== Version 2.7 (2019-12-08)
New features::
-1
View File
@@ -56,7 +56,6 @@ EXTRA_DIST = AUTHORS.adoc \
cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \
cmake/FindRuby.cmake \
cmake/FindTCL.cmake \
cmake/FindV8.cmake \
cmake/FindZLIB.cmake \
cmake/cmake_uninstall.cmake.in \
+6 -1
View File
@@ -17,8 +17,13 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file _ChangeLog.adoc_ in sources).
[[v2.7.1]]
== Version 2.7.1 (2020-02-20)
Bug fix and maintenance release.
[[v2.7]]
== Version 2.7 (under dev)
== Version 2.7 (2019-12-08)
[[v2.7_cmake_errors]]
=== CMake errors on missing dependencies
+4 -5
View File
@@ -24,8 +24,8 @@
### common stuff
###
DIR=$(cd $(dirname "$0"); pwd)
cd $DIR
DIR=$(cd "$(dirname "$0")" || exit 1; pwd)
cd "$DIR" || exit 1
AUTOGEN_LOG=autogen.log
@@ -41,9 +41,8 @@ err ()
run ()
{
echo -n "Running \"$@\"..."
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
printf "Running \"%s\"..." "$@"
if eval "$@" >$AUTOGEN_LOG 2>&1 ; then
echo " OK"
else
echo " FAILED"
+1 -1
View File
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+15
View File
@@ -1,3 +1,18 @@
weechat (2.6-2) unstable; urgency=medium
* Add a patch from upstream to support Guile 2.2 (Closes: #885235)
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 11 Oct 2019 15:07:22 +0000
weechat (2.6-1) unstable; urgency=medium
* New upstream release
* Build only with Python3 (Closes: #938817)
* Bump Standards-Version to 4.4.0
* Build Lua plugin against Lua 5.3
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 17 Sep 2019 13:30:32 +0000
weechat (2.4-1) unstable; urgency=medium
* New upstream release
+1 -1
View File
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+2 -2
View File
@@ -225,7 +225,7 @@
** Standardwert: `+on+`
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
** Beschreibung: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
** Beschreibung: pass:none[zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse eines Remote-Nick geändert hat; diese Option ist standardmäßig ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt auslösen (die Adresse des Remote-Nick ändert sich während eines Login mehrfach)]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
@@ -387,7 +387,7 @@
** Standardwert: `+merge_with_core+`
* [[option_irc.look.smart_filter]] *irc.look.smart_filter*
** Beschreibung: pass:none[filter join/part/quit/nick messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter", see /help filter)]
** Beschreibung: pass:none[filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist (dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden, siehe /help filter)]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+on+`
+1 -1
View File
@@ -927,7 +927,7 @@
** Standardwert: `+djb2+`
* [[option_weechat.look.nick_color_hash_salt]] *weechat.look.nick_color_hash_salt*
** Beschreibung: pass:none[salt for the hash algorithm used to find nick colors (the nickname is appended to this salt and the hash algorithm operates on this string); modifying this shuffles nick colors]
** Beschreibung: pass:none[salt für den Hash-Algorithmus, der zum Auffinden von Nickfarben verwendet wird (der Nickname wird an diesen Salt angehängt und der Hash-Algorithmus verarbeitet diesen String); Wenn Sie dies ändern, werden die Nickfarben gemischt]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
+6 -7
View File
@@ -2141,15 +2141,14 @@ mittels dem Befehl `/python` geladen wird.
Mit dem Befehl `/plugin` kann eine Erweiterung geladen bzw. entfernt werden. Auch können
mit dem Befehl alle installierten Erweiterungen aufgelistet werden.
// TRANSLATION MISSING
When a plugin is unloaded, WeeChat removes:
Sobald eine Erweiterung beendet wird, entfernt WeeChat:
* buffers
* configuration options (options are written in files)
* all hooks: commands, modifiers, process, etc.
* infos and infolists
* Buffer
* Konfigurationsoptionen (Optionen die in Datein geschrieben wurden)
* alle Hooks: commands, modifiers, process, etc.
* Infos und Infolisten
* hdata
* bar items.
* Bar-Items.
Beispiele wie man Erweiterungen lädt, entfernt und auflistet:
+2 -2
View File
@@ -38,7 +38,7 @@
| irc | irc_privates | rozmowy prywatne na wszystkich serwerach IRC
| irc | irc_raw_filters | filters for irc raw buffer
| irc | irc_raw_filters | filtry dla bufora nieprzetworzonych wiadomości IRC
| irc | irc_server | obecny serwer IRC
@@ -144,7 +144,7 @@
| weechat | env_vars | zmienne środowiskowe
| weechat | filename | filename; optional argument: default path (evaluated, see /help eval)
| weechat | filename | nazwa pliku; opcjonalny argument: domyślna ścieżka (przetwarzana, zobacz /help eval)
| weechat | filters_names | nazwy filtrów
@@ -6,7 +6,7 @@
|===
| Wtyczka | Nazwa | Opis | Hashtable (wejście) | Hashtable (wyjście)
| irc | irc_message_parse | przetwarza wiadomość IRC | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found)
| irc | irc_message_parse | przetwarza wiadomość IRC | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "tags": tagi, "message_without_tags": wiadomość bez tagów, "nick": nick, "user": użytkownik, "host": host, "command": komenda, "channel": kanał, "arguments": argumenty (razem z kanałem), "text": tekst (na przykład wiadomość użytkownika), "pos_command": indeks wiadomości "command" message ("-1" jeśli "command" nie zostało znalezione), "pos_arguments": indeks wiadomości "arguments" ("-1" jeśli "arguments" nie zostało znalezione), "pos_channel": indeks wiadomości "channel" ("-1" jeśli "channel" nie zostało znalezione), "pos_text": indeks słowa "text" ("-1" jeśli "text" nie zostało znalezione)
| irc | irc_message_split | dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach) | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "msg1" ... "msgN": wiadomości do wysłania (bez kończącego "\r\n"), "args1" ... "argsN": argumenty wiadomości, "count": ilość wiadomości
+31 -32
View File
@@ -373,7 +373,7 @@ powód: powód
----
[[command_irc_links]]
* `+links+`: list all server names which are known by the server answering the query
* `+links+`: wyświetla wszystkie nazwy serwerów, które są znane serwerowi odpowiadającemu na zapytanie
----
/links [[<cel>] <maska>]
@@ -720,41 +720,40 @@ powód: powód
* `+server+`: wyświetla, dodaje lub usuwa serwery IRC
----
/server list|listfull [<name>]
add <name> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>]
copy|rename <name> <new_name>
reorder <name> [<name>...]
open <name>|-all [<name>...]
del|keep <name>
/server list|listfull [<nazwa>]
add <nazwa> <host>[/<port>] [-temp] [-<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <nazwa> <nowa_nazwa>
reorder <nazwa> [<nazwa>...]
open <nazwa>|-all [<nazwa>...]
del|keep <nazwa>
deloutq|jump
raw [<filter>]
list: list servers (without argument, this list is displayed)
listfull: list servers with detailed info for each server
add: add a new server
name: server name, for internal and display use; this name is used to connect to the server (/connect name) and to set server options: irc.server.name.xxx
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
-temp: add a temporary server (not saved)
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
copy: duplicate a server
rename: rename a server
reorder: reorder list of servers
open: open the server buffer without connecting
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
jump: jump to server buffer
raw: open buffer with raw IRC data
filter: set a new filter to see only matching messages (this filter can be used as input in raw IRC data buffer as well); allowed formats are:
* show all messages (no filter)
xxx show only messages containing "xxx"
s:xxx show only messages for server "xxx"
f:xxx show only messages with a flag: recv (message received), sent (message sent), modified (message modified by a modifier), redirected (message redirected)
m:xxx show only IRC command "xxx"
c:xxx show only messages matching the evaluated condition "xxx", using following variables: output of function irc_message_parse (like nick, command, channel, text, etc., see function info_get_hashtable in plugin API reference for the list of all variables), date (format: "yyyy-mm-dd hh:mm:ss"), server, recv, sent, modified, redirected
list: wyświetla listę serwerów (bez argumentu wyświetlana jest ta lista)
listfull: wyświetla listę serwerów ze szczegółowymi informacjami dla każdego serwera
add: tworzy nowy serwer
nazwa: nazwa serwera, do użytku wewnętrznego i wyświetlania; ta nazwa jest używana do połączenia z serwerem (/connect nazwa) i do ustawiania opcji serwera: irc.server.nazwa.xxx
host: nazwa albo adres IP serwera, z opcjonalnym numerem portu (domyślnie: 6667), wiele adresów należy rozdzielić przecinkiem
-temp: tworzy serwer tymczasowy (nie zapisany)
opcja: ustawia opcję dla serwera (dla opcji boolowskich wartość może zostać pominięta)
noopcja: ustawia opcje boolowskie na 'off' (na przykład: -nossl)
copy: duplikuje serwer
rename: zmienia nazwę serwera
reorder: zmienia kolejność na liście serwerów
open: otwiera bufor serwera nie łącząc się z nim
keep: zachowuje serwer w pliku konfiguracyjnym (tylko dla serwerów tymczasowych)
del: usuwa serwer
deloutq: usuń wiadomości z kolejki dla wszystkich serwerów (wszystkie wiadomości jakie WeeChat obecnie wysyła)
jump: przechodzi do bufora serwera
raw: otwiera bufor z nieprzetworzonymi danymi IRC
filtr: ustawia nowy filtr pokazujący tylko wybrane wiadomości (może zostać również użyty jako wejście w buforze nieprzetworzonych danych IRC); dozwolone formaty:
* pokaż wszystkie wiadomości (brak filtra)
xxx pokaż tylko wiadomości zawierające "xxx"
s:xxx pokaż tylko wiadomości od serwera "xxx"
f:xxx pokaż tylko wiadomości z flagą: recv (wiadomości odebrane), sent (wiadomości wysłane), modified (wiadomości zmodyfikowane), redirected (wiadomości przekierowane)
m:xxx pokaż tylko komendę IRC "xxx"
c:xxx pokaż tylko wiadomości pasujące to przetworzonego warunku "xxx", używając następujących zmiennych: wynik funkcji irc_message_parse (jak nick, komenda, kanał, tekst, etc., zobacz funkcję info_get_hashtable w opisie API wtyczek dla listy wszystkich dostępnych zmiennych), data (format: "yyyy-mm-dd hh:mm:ss"), serwer, recv, sent, modified, redirected
Examples:
Przykłady:
/server listfull
/server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
+6 -6
View File
@@ -45,7 +45,7 @@
** domyślna wartość: `+green+`
* [[option_irc.color.message_kick]] *irc.color.message_kick*
** opis: pass:none[color for text in kick/kill messages]
** opis: pass:none[kolor tekstu w wiadomości kick/kill]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+red+`
@@ -75,7 +75,7 @@
** domyślna wartość: `+green+`
* [[option_irc.color.reason_kick]] *irc.color.reason_kick*
** opis: pass:none[color for reason in kick/kill messages]
** opis: pass:none[kolor tekstu powodu w wiadomości kick/kill]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+default+`
@@ -225,7 +225,7 @@
** domyślna wartość: `+on+`
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
** opis: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
** opis: pass:none[wyświetl ostrzeżenie w prywatnym buforze jeśli adres zdalnego nicka uległ zmianie; ta opcja jest domyślnie wyłączona ponieważ serwery jak bitlbee powodują wyświetlanie tego ostrzeżenia, kiedy nie powinny (adres zdalnego nicka zmienia się wiele razy przy logowaniu)]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
@@ -387,7 +387,7 @@
** domyślna wartość: `+merge_with_core+`
* [[option_irc.look.smart_filter]] *irc.look.smart_filter*
** opis: pass:none[filter join/part/quit/nick messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter", see /help filter)]
** opis: pass:none[filtruj wiadomości wejścia/opuszczenia/wyjścia/nick od nicków nie będących aktywnymi od kilku minut na kanale (musisz stworzyć filtr na tagu "irc_smart_filter", zobacz /help filter)]
** typ: bool
** wartości: on, off
** domyślna wartość: `+on+`
@@ -609,7 +609,7 @@
** domyślna wartość: `+""+`
* [[option_irc.server_default.charset_message]] *irc.server_default.charset_message*
** opis: pass:none[part of the IRC message (received or sent) which is decoded/encoded to the target charset; message = the whole IRC message (default), channel = starting from the channel name only (if found, with fallback on text), text = starting from the text only (you should try this value if you have issues with the channel name encoding)]
** opis: pass:none[część wiadomości IRC (otrzymanej lub wysłanej), która jest kodowana na ustawione kodowanie; message = cała wiadomość IRC (domyślne), channel = zaczynając od nazwy kanału (jeśli znaleziona, w przeciwnym wypadku text), text = zaczynając od samego tekstu (powinieneś spróbować tej wartości, jeśli masz problem z kodowaniem nazwy kanału)]
** typ: liczba
** wartości: message, channel, text
** domyślna wartość: `+message+`
@@ -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 (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 (uwaga: zawartość jest przetwarzana zobacz /help eval; opcje serwera mogą zostać użytego w postaci ${irc_server.xxx} oraz ${server} jest zastępowany nazwą serwera)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+""+`
+2 -2
View File
@@ -9,7 +9,7 @@
** domyślna wartość: `+default+`
* [[option_logger.color.backlog_line]] *logger.color.backlog_line*
** opis: pass:none[color for backlog lines, used only if the option logger.file.color_lines is off]
** opis: pass:none[kolor linii backloga, używany tylko jeśli opcja logger.file.color_lines jest wyłączona]
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
** domyślna wartość: `+default+`
@@ -21,7 +21,7 @@
** domyślna wartość: `+on+`
* [[option_logger.file.color_lines]] *logger.file.color_lines*
** opis: pass:none[use ANSI color codes in lines written in log files and display backlog lines with these colors]
** opis: pass:none[użyj kodów kolorów ANSI w liniach zapisywanych do plików z logami oraz wyświetlaj linie backloga z tymi kolorami]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
+55 -55
View File
@@ -7,72 +7,72 @@
----
/script list [-o|-ol|-i|-il]
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
search <tekst>
show <skrypt>
load|unload|reload <skrypt> [<skrypt>...]
autoload|noautoload|toggleautoload <skrypt> [<skrypt>...]
install|remove|installremove|hold [-q] <skrypt> [<skrypt>...]
upgrade
update
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer (string in English)
-ol: send list of loaded scripts to buffer (translated string)
-i: copy list of loaded scripts in command line (for sending to buffer) (string in English)
-il: copy list of loaded scripts in command line (for sending to buffer) (translated string)
search: search scripts by tags, language (python, perl, ...), filename extension (py, pl, ...) or text; result is displayed on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
autoload: autoload the script
noautoload: do not autoload the script
toggleautoload: toggle autoload
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
list: lista załadowanych skryptów (wszystkie języki)
-o: wysyła listę skryptów do bufora (po angielsku)
-ol: wysyła listę skryptów do bufora (przetłumaczoną)
-i: kopiuje listę skryptów do wiersza poleceń (do wysłania do bufora)(po angielsku)
-il: kopiuje listę skryptów do wiersza poleceń (do wysłania do bufora)(przetłumaczone)
search: wyszukuje skryptu po tagach, języku (python, perl, ...), rozszerzeniu pliku (py, pl, ...) lub tekście; wynik jest wyświetlany w buforze skryptów
show: pokazuje dokładne informacje o skrypcie
load: ładuje skrypt(y)
unload: wyładowuje skrypt(y)
reload: przeładowuje skrypt(y)
autoload: automatyczne ładowanie skryptu
noautoload: nie ładuj automatycznie skryptu
toggleautoload: przełącza automatyczne logowanie
install: instaluje/uaktualnia skrypt(y)
remove: usuwa skrypt(y)
installremove: instaluje lub usuwa skrypt(y), w zależności od obecnego stanu
hold: przełącza stan wstrzymania skrypt(y) (wstrzymany skrypt nie będzie aktualizowany ani nie może zostać usunięty)
-q: tryb cichy: nie wyświetla wiadomości
upgrade: aktualizuje wszystkie zainstalowane skrypty, które są przestarzałe (nowa wersja jest dostępne)
update: aktualizuje lokalna listę dostępnych skryptów
Without argument, this command opens a buffer with list of scripts.
Bez żadnego argumentu, komenda otwiera bufor z listą skryptów.
On script buffer, the possible status for each script are:
W buforze skryptów, możliwe statusy dla każdego ze skryptów:
* i a H r N
| | | | | |
| | | | | obsolete (new version available)
| | | | running (loaded)
| | | held
| | autoloaded
| installed
popular script
| | | | | przestarzały (dostępna jest nowa wersja)
| | | | działający (załadowany)
| | | wstrzymany
| | automatycznie ładowany
| zainstalowany
popularny skrypt
Keys on script buffer:
alt+i install script
alt+r remove script
alt+l load script
alt+L reload script
alt+u unload script
alt+A autoload script
alt+h (un)hold script
alt+v view script
Skróty klawiszowe w buforze skryptów:
alt+i instaluje skrypt
alt+r usuwa skrypt
alt+l ładuje skrypt
alt+L przeładowuje skrypt
alt+u wyładowuje skrypt
alt+A automatyczne ładowanie skryptu
alt+h przełącza stan wstrzymania skryptu
alt+v wyświetla skrypt
Input allowed on script buffer:
i/r/l/L/u/A/h/v action on script (same as keys above)
q close buffer
$ refresh buffer
s:x,y sort buffer using keys x and y (see /help script.look.sort)
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Dozwolone komendy z linii poleceń w buforze skryptów:
i/r/l/L/u/A/h/v akcje dla skryptu (takie same jak skróty klawiszowe powyżej)
q zamknij bufor
$ odśwież bufor
s:x,y sortuj bufor używając klawiszy x i y (zobacz /help script.look.sort)
s: resetuj sortowanie (użyj domyślnego)
słowo(a) filtruj skrypty: szukaj słowa(ów) w skryptach (opis, tagi, ...)
* usuń filtr
Mouse actions on script buffer:
wheel scroll list
left button select script
right button install/remove script
Akcje myszy w buforze skryptów:
kółko przewija listę
lewy przycisk wybiera skrypt
prawy przycisk instaluj/usuń skrypt
Examples:
Przykłady:
/script search url
/script install go.py urlserver.py
/script remove go.py
+55 -55
View File
@@ -266,68 +266,68 @@ infolists: wyświetla informacje o infolistach
/eval [-n|-s] <wyrażenie>
[-n] -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)
-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)
-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
@@ -343,7 +343,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
+2 -2
View File
@@ -915,7 +915,7 @@
** domyślna wartość: `+100+`
* [[option_weechat.look.nick_color_force]] *weechat.look.nick_color_force*
** opis: pass:none[force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); look up for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option; color can include background with the format "text,background", for example "yellow,red"]
** opis: pass:none[wymusza kolory dla niektórych nicków: hash połączony z nickiem w celu znalezienia koloru nie zostanie użyty dla tych nicków (format: "nick1:kolor1;nick2:kolor2"); wyszukiwanie nicków odbywa się na zasadzie dopasowania porównania dokładnego, następnie z małych liter, jest więc możliwe używanie tylko małych liter w tej opcji; kolor może zawierać tło w formacie "tekst,tło", na przykład "yellow,red"]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+""+`
@@ -927,7 +927,7 @@
** domyślna wartość: `+djb2+`
* [[option_weechat.look.nick_color_hash_salt]] *weechat.look.nick_color_hash_salt*
** opis: pass:none[salt for the hash algorithm used to find nick colors (the nickname is appended to this salt and the hash algorithm operates on this string); modifying this shuffles nick colors]
** opis: pass:none[sól dla algorytmu haszującego używanego do wyszukiwania kolorów nicków (nick jest dodawany do tej soli i algorytm pracuje na tym ciągu); zmiana wartości powoduje przetasowanie kolorów nicków]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+""+`
+1 -1
View File
@@ -105,7 +105,7 @@
** domyślna wartość: `+"%h/xfer"+`
* [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix*
** opis: pass:none[temporary filename suffix used during the transfer for a file received, it is removed after successful transfer; if empty string, no filename suffix is used during the transfer]
** opis: pass:none[sufiks tymczasowego pliku użyty podczas pobierania pliku, zostanie usunięty po pomyślnym transferze; pusty ciąg oznacza, że nie zostanie użyty żaden przyrostek podczas transferu pliku]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+".part"+`
+3 -5
View File
@@ -226,17 +226,15 @@ nazwa opcji):
/set irc.server.freenode.xxx wartość
----
// TRANSLATION MISSING
[[connect_to_irc_server]]
== Connect to IRC server
== Łączenie z serwerem IRC
----
/connect freenode
----
// TRANSLATION MISSING
With this command, WeeChat connects to the freenode server and auto-joins the
channels configured in the "autojoin" server option.
Dzięki tej komendzie WeeChat łączy się z serwerem freenode i automatycznie
wchodzi na kanały skonfigurowane w opcji "autojoin" dla serwera.
[NOTE]
Ta komenda może być użyta do utworzenia i połączenia się z nowym serwerem bez
+67 -87
View File
@@ -74,45 +74,41 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angiel
==== Python
// TRANSLATION MISSING
===== Module
===== Moduł
WeeChat defines a `weechat` module which must be imported with `import weechat`.
WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`.
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `weechat.xxx(arg1, arg2, ...)`.
Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...)`.
Functions `+print*+` are called `+prnt*+` in python (because `print` was a
reserved keyword in Python 2).
Funkcje `+print*+` nzwyają się `+prnt*+` (ponieważ `print` był zarezerwowanym
łowem kluczowym w Pythonie 2).
// TRANSLATION MISSING
===== Strings received in callbacks
===== Ciągi otrzymywane w callbackach
In Python 3 and with WeeChat ≥ 2.7, the strings received in callbacks have type
`str` if the string has valid UTF-8 data (which is the most common case),
or `bytes` if the string is not UTF-8 valid. So the callback should take care
about this type if some invalid UTF-8 content can be received.
W Pythonie 3 i dla wersji WeeChat ≥ 2.7, ciągi te mają typ `str` jeśli ciąg
zawiera poprawne dane UTF-8 (najrzęstzy przypadek), lub `bytes` w przeciwnym
razie. Dlatego callback powinien być w stanie obsłużyć również taki typ danych.
Some invalid UTF-8 data may be received in these cases, so the callback can
receive a string of type `str` or `bytes` (this list is not exhaustive):
Niektóre niepoprawne dane UTF-8 mogą zostać otrzymane w poniższych przypadkach,
dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pełna):
[width="100%",cols="3m,3m,3m,8",options="header"]
|===
| API function | Arguments | Examples | Description
| Funkcja API | Argumenty | Przykłady | Opis
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
A message received in IRC plugin, before it is decoded to UTF-8 (used
internally). +
Wiadomość otrzymana przez wtyczkę IRC, zanim jest zdekodowana do UTF-8
(używana wewnętrznie) +
+
It is recommended to use modifier `irc_in2_yyy` instead, the string received
is always UTF-8 valid. +
See function `hook_modifier` in the
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference].
Zalecane jest używanie w zamian modyfikatora `irc_in2_yyy`, otrzymany ciąg
jest zawsze poprawnym UTF-8. +
Zobacz funkcję `hook_modifier` w
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
| hook_signal |
xxx,irc_out_yyy +
@@ -121,79 +117,73 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
A message sent by IRC plugin, after it is encoded to the `encode` charset
defined by the user (if different from the default `UTF-8`). +
Wiadomość wysłana przez serwer IRC po zakodowaniu na kodowanie `encode`
zdefiniowane przez użytkownika (jeśli inne niż `UTF-8`). +
+
It is recommended to use signal `xxx,irc_out1_yyy` instead, the string received
is always UTF-8 valid. +
See function `hook_signal` in the
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference].
Zaleca się użycie w zamian sygnału `xxx,irc_out1_yyy`,otrzymany ciąg jest
zawsze poprawnym UTF-8. +
Zobacz funkcję `hook_signal` w
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
| hook_process +
hook_process_hashtable |
- |
- |
Output of the command, sent to the callback, can contain invalid UTF-8 data.
Wynik komendy wysyłany do callbacka, może zawierać niepoprawne dane UTF-8.
|===
In Python 2, which is now deprecated and should not be used any more, the
strings sent to callbacks are always of type `str`, and may contain invalid
UTF-8 data, in the cases mentioned above.
W Pytonie 2, który jest już nie wspierany i nie powinien być już używany,
ciągi wysyłane do callbacków są zawsze typu `str` i mogą zawierać niepoprawne
dane UTF-8 w przypadkach wspomnianych wyżej.
==== Perl
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `weechat::xxx(arg1, arg2, ...);`.
Funkcje są wywoływane za pomocą `weechat::xxx(arg1, arg2, ...);`.
==== Ruby
// TRANSLATION MISSING
===== Initialization
===== Inicjalizacja
You have to define _weechat_init_ and call _register_ inside.
Musisz zdefiniowac _weechat_init_ i wywołać wewnątrz _register_.
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `Weechat.xxx(arg1, arg2, ...)`.
Funkcje wywoływane są za pomocą `Weechat.xxx(arg1, arg2, ...)`.
Due to a limitation of Ruby (15 arguments max by function), the function
`Weechat.config_new_option` receives the callbacks in an array of 6 strings
(3 callbacks + 3 data strings), so a call to this function looks like:
Poprzez limitację Ruby (maksymalnie 15 argumentów dla funkcji), funkcja
`Weechat.config_new_option` otrzymuje callbacki w tablicy 6 ciągów
(3 callbacki + 3 ciągi danych), wywołanie tej funkcji wygląda następująco:
[source,ruby]
----
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
Weechat.config_new_option(config, section, "name", "string", "opis opcji", "", 0, 0,
"value", "wartość", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----
==== Lua
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `weechat.xxx(arg1, arg2, ...)`.
Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...)`.
==== Tcl
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `weechat::xxx arg1 arg2 ...`.
Funkcje są wywoływane za pomocą `weechat::xxx arg1 arg2 ...`.
==== Guile (Scheme)
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `(weechat:xxx arg1 arg2 ...)`.
Funkcje są wywoływane za pomocą `(weechat:xxx arg1 arg2 ...)`.
The following functions take one list of arguments (instead of many arguments
for other functions), because number of arguments exceed number of allowed
arguments in Guile:
Następujące funkcje przyjmują litę argumentów (zamiast wielu argumentów dla
innych funkcji), ponieważ ilość argumentów przekracza maksymalną ilość
argumentów dozwolonych w Guile:
* config_new_section
* config_new_option
@@ -201,17 +191,15 @@ arguments in Guile:
==== JavaScript
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `weechat.xxx(arg1, arg2, ...);`.
Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...);`.
==== PHP
// TRANSLATION MISSING
===== Functions
===== Funkcje
Functions are called with `weechat_xxx(arg1, arg2, ...);`.
Funkcje są wywoływane za pomocą `weechat_xxx(arg1, arg2, ...);`.
[[register_function]]
=== Funkcja rejestrująca
@@ -1178,25 +1166,20 @@ weechat.prnt("", "wartość opcji weechat.color.chat_delimiters to: %s"
[[irc_catch_messages]]
==== Przechwytywanie wiadomości
// TRANSLATION MISSING
IRC plugin sends four signals for a message received (`xxx` is IRC internal
server name, `yyy` is IRC command name like JOIN, QUIT, PRIVMSG, 301, ..):
Wtyczka IRC wysyła cztery sygnały dla otrzymanych wiadomości (`xxx` to wewnętrzna
nazwa serwera IRC, `yyy` to komenda IRC jak JOIN, QUIT, PRIVMSG, 301, ..):
// TRANSLATION MISSING
xxx,irc_in_yyy::
signal sent before processing message, only if message is *not* ignored
sygnał wysyłany przed przetworzeniem wiadomości, tylko jeśli *nie* jest ignorowana
// TRANSLATION MISSING
xxx,irc_in2_yyy::
signal sent after processing message, only if message is *not* ignored
sygnał wysyłany po przetworzeniu wiadomości, tylko jeśli wiadomość *nie* jest ignorowana
// TRANSLATION MISSING
xxx,irc_raw_in_yyy::
signal sent before processing message, even if message is ignored
sygnał wysyłany przed przetworzeniem wiadomości, nawet jeśli wiadomość jest ignorowana
// TRANSLATION MISSING
xxx,irc_raw_in2_yyy::
signal sent after processing message, even if message is ignored
sygnał wysyłany po przetworzeniu wiadomoci, nawet jeśli wiadomość jest ignorowana
[source,python]
----
@@ -1218,19 +1201,17 @@ weechat.hook_signal("*,irc_in2_join", "join_cb", "")
[[irc_modify_messages]]
==== Modyfikowanie wiadomości
// TRANSLATION MISSING
IRC plugin sends two "modifiers" for a message received ("xxx" is IRC command),
so that you can modify it:
Plugin IRC wysyła dwa "modyfikatory" dla odebranych wiadomości ("xxx" to komenda IRC),
aby umożliwić jej modyfikację:
// TRANSLATION MISSING
irc_in_xxx::
modifier sent before charset decoding: use with caution, the string may
contain invalid UTF-8 data; use only for raw operations on a message
modyfikator wysyłany przez zmianą kodowania: używaj ostrożnie, ciąg może
zawierać niepoprawne dane UTF-8; używaj tylko dla operacji na nieprzetworzonych
wiadomościach
// TRANSLATION MISSING
irc_in2_xxx::
modifier sent after charset decoding, so the string received is always
UTF-8 valid (*recommended*)
modyfikator wysyłany po zmianie kodowania, ciąg jest zawsze poprawnym
UTF-8 (*zalecane*)
[source,python]
----
@@ -1273,9 +1254,8 @@ Wynik jest tabela hashy z następującymi kluczami
Nick żródła. |
`nick`
// TRANSLATION MISSING
| user | ≥ 2.7 |
The origin user. |
Oryginalny użytkownik. |
`user`
| host | ≥ 0.3.4 |
+12 -17
View File
@@ -804,8 +804,7 @@ i podkreślonym jasno czerwonym "Alice":
^Cc12^Cbhello ^Cb^Cc04^C_Alice^C_^Cc!
----
// TRANSLATION MISSING
Keys:
Skróty klawiszowe:
kbd:[Ctrl+c] kbd:[c] kbd:[1] kbd:[2] kbd:[Ctrl+c] kbd:[b] +
kbd:[h] kbd:[e] kbd:[l] kbd:[l] kbd:[o] kbd:[Space] +
@@ -2109,15 +2108,14 @@ polecenia `/python`.
Możesz użyć komendy `/plugin` żeby załadować/wyładować wtyczkę, lub wyświetlić
wszystkie załadowane wtyczki.
// TRANSLATION MISSING
When a plugin is unloaded, WeeChat removes:
Podcza wyładowywania wtyczki WeeChat usówa:
* buffers
* configuration options (options are written in files)
* all hooks: commands, modifiers, process, etc.
* infos and infolists
* bufory
* opcje konfiguracyjne (options są zapisywane w plikach)
* wszystkie hooki: komendy, modyfikatory, procesy, etc.
* infos i infolists
* hdata
* bar items.
* elementy pasków.
Przykłady ładowania, wyładowywania i wyświetlania załadowanych wtyczek:
@@ -2996,18 +2994,16 @@ Kilka przykładów:
[[logger_filenames_masks]]
==== Maski dla nazw plików
// TRANSLATION MISSING
Możliwe jest zdefiniowanie maski dla nazwy pliku z logiem dla każdego bufora i
użycie do tego zmiennych lokalnych bufora. To see available local variables for
current buffer:
użycie do tego zmiennych lokalnych bufora. W celu wyświetlenia listy dostępnych
zmiennych dla bufora wykonaj:
----
/buffer localvar
----
// TRANSLATION MISSING
Masks will be matched on options in descending order of specificity on
`logger.mask.$plugin.*`, with `logger.file.mask` as fallback option.
Maski zostaną dopasowane do opcji w kolejności malejącej specyficznie dla
`logger.mask.$plugin.*`, z `logger.file.mask` jako opcją zapasową.
Na przykład, w buforze "irc.freenode.#weechat", WeeChat będzie szukał maski dla
nazwy w takiej kolejności:
@@ -4062,8 +4058,7 @@ Callback "line" ustawia następujące zmienne w tablicy hashy:
| str_time | ciąg | Date do wyświetlenia. Może zawierać kody kolorów.
| tags | ciąg | Tagi wiadomości (z przecinkiem dodanym na początku/końcu ciągu).
| displayed | ciąg | "1" jeśli wyświetlono, "0" jeśli nie wyświetlono.
// TRANSLATION MISSING
| notify_level | ciąg | "-1" = no notify, "0" = poziom niski, "1" = wiadomość, "2" = wiadomość prywatna, "3" = podświetlenie
| notify_level | ciąg | "-1" = brak powiadomienia, "0" = poziom niski, "1" = wiadomość, "2" = wiadomość prywatna, "3" = podświetlenie
| highlight | ciąg | "1" jeśli podświetlenie, inaczej "0".
| prefix | ciąg | Prefiks.
| tg_prefix_nocolor | ciag | Prefiks bez kodów kolorów.
+12 -4
View File
@@ -25,7 +25,7 @@ msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2019-11-25 21:33+0100\n"
"PO-Revision-Date: 2019-11-25 21:42+0100\n"
"PO-Revision-Date: 2019-11-29 09:10+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
@@ -4183,6 +4183,10 @@ msgid ""
"appended to this salt and the hash algorithm operates on this string); "
"modifying this shuffles nick colors"
msgstr ""
"salt für den Hash-Algorithmus, der zum Auffinden von Nickfarben verwendet "
"wird (der Nickname wird an diesen Salt angehängt und der Hash-Algorithmus "
"verarbeitet diesen String); Wenn Sie dies ändern, werden die Nickfarben "
"gemischt"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
@@ -10007,6 +10011,11 @@ msgid ""
"causing this warning to be displayed when it is not expected (the address of "
"remote nick changes multiple times on login)"
msgstr ""
"zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse "
"eines Remote-Nick geändert hat; diese Option ist standardmäßig "
"ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt "
"auslösen (die Adresse des Remote-Nick ändert sich während eines Login "
"mehrfach)"
msgid ""
"comma separated list of words to highlight in channel buffers (case "
@@ -10249,15 +10258,14 @@ msgstr ""
"Layout genutzt wird und mit dieser Option im Widerspruch steht (siehe /help "
"layout)"
#, fuzzy
msgid ""
"filter join/part/quit/nick messages for a nick if not speaking for some "
"minutes on channel (you must create a filter on tag \"irc_smart_filter\", "
"see /help filter)"
msgstr ""
"filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im "
"Channel inaktiv gewesen ist. Dazu muss ein Filter mit dem Schlagwort "
"\"irc_smart_filter\" erstellt werden"
"Channel inaktiv gewesen ist (dazu muss ein Filter mit dem Schlagwort "
"\"irc_smart_filter\" erstellt werden, siehe /help filter)"
#. TRANSLATORS: please do not translate "chghost"
msgid "enable smart filter for \"chghost\" messages"
+100 -58
View File
@@ -23,16 +23,16 @@ msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2019-11-25 21:33+0100\n"
"PO-Revision-Date: 2019-11-03 08:38+0100\n"
"PO-Revision-Date: 2019-12-01 16:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 19.08.0\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10"
" || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 19.08.3\n"
msgid "any string"
msgstr "dowolny ciąg"
@@ -1627,7 +1627,6 @@ msgstr "przetwórz wyrażenie"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <wyrażenie> || [-n] -c <wyrażenie1> <operator> <wyrażenie2>"
#, fuzzy
msgid ""
" -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be "
@@ -1783,16 +1782,20 @@ msgstr ""
"max,suffix,string\" lub \"cutscr:+max,suffix,string\")\n"
" 5. odwrócony ciąg (format: \"rev:xxx\")\n"
" 6. powtórzony ciąg (format: \"repeat:ilość,ciąg\")\n"
" 7. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color"
" 7. długość ciągu (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
" 8. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color"
"\")\n"
" 8. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n"
" 9. obecna data/czas (format: \"date\" lub \"date:format\")\n"
" 10. zmienna środowiskowa (format: \"env:XXX\")\n"
" 11. wyrażenie warunkowe (format: \"if:condition?value_if_true:"
" 9. modyfikator (format: \"modifier:name,data,string\")\n"
" 10. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n"
" 11. obecna data/czas (format: \"date\" lub \"date:format\")\n"
" 12. zmienna środowiskowa (format: \"env:XXX\")\n"
" 13. wyrażenie warunkowe (format: \"if:condition?value_if_true:"
"value_if_false\")\n"
" 12. opcja (format: plik.sekcja.opcja)\n"
" 13. zmienna lokalna w buforze\n"
" 14. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg "
" 14. wynik wyrażenia z nawiasami i operatorami + - * / // % ** "
"(format: \"calc:xxx\")\n"
" 15. opcja (format: plik.sekcja.opcja)\n"
" 16 zmienna lokalna w buforze\n"
" 17. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg "
"znaków), domyślnie \"window\" i \"buffer\" wskazują na aktualne okno/bufor.\n"
"Format dla hdata może być jednym z poniższych:\n"
" hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), "
@@ -1827,6 +1830,8 @@ msgstr ""
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
" /eval -n ${rev:Hello} ==> olleH\n"
" /eval -n ${repeat:5,-} ==> -----\n"
" /eval -n ${length:test} ==> 4\n"
" /eval -n ${calc:(5+2)*3} ==> 21\n"
"\n"
"Przykłady (warunki):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -3277,11 +3282,10 @@ msgstr "paleta kolorów"
msgid "configuration files"
msgstr "pliki konfiguracyjne"
#, fuzzy
msgid "filename; optional argument: default path (evaluated, see /help eval)"
msgstr ""
"nazwa użytkownika dla serwera proxy (zawartość jest przetwarzana, zobacz /"
"help eval)"
"nazwa pliku; opcjonalny argument: domyślna ścieżka (przetwarzana, zobacz"
" /help eval)"
msgid "names of filters"
msgstr "nazwy filtrów"
@@ -3971,7 +3975,6 @@ msgstr ""
"odstęp (w milisekundach) przechwytywania zdarzeń myszy: WeeChat zawsze "
"poczeka ten czas przed obsługą zdarzenia"
#, fuzzy
msgid ""
"force color for some nicks: hash computed with nickname to find color will "
"not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look "
@@ -3983,7 +3986,8 @@ msgstr ""
"znalezienia koloru nie zostanie użyty dla tych nicków (format: \"nick1:"
"kolor1;nick2:kolor2\"); wyszukiwanie nicków odbywa się na zasadzie "
"dopasowania porównania dokładnego, następnie z małych liter, jest więc "
"możliwe używanie tylko małych liter w tej opcji"
"możliwe używanie tylko małych liter w tej opcji; kolor może zawierać tło "
"w formacie \"tekst,tło\", na przykład \"yellow,red\""
msgid ""
"hash algorithm used to find the color for a nick: djb2 = variant of djb2 "
@@ -4001,6 +4005,10 @@ msgid ""
"appended to this salt and the hash algorithm operates on this string); "
"modifying this shuffles nick colors"
msgstr ""
"sól dla algorytmu haszującego używanego do wyszukiwania kolorów nicków "
"(nick jest dodawany do tej soli i algorytm pracuje na tym ciągu); zmiana"
" wartości "
"powoduje przetasowanie kolorów nicków"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
@@ -7242,7 +7250,7 @@ msgstr "%s%s: nie można przydzielić nowego kanału"
#, c-format
msgid "%sWarning: the address of remote nick has changed"
msgstr ""
msgstr "%sUwaga: adres zdalnego nicka uległ zmianie"
#, c-format
msgid "%s%s%s %s(%s%s%s)%s is back on server"
@@ -8150,11 +8158,10 @@ msgstr ""
" nick: nick\n"
"powód: powód"
#, fuzzy
msgid "list all server names which are known by the server answering the query"
msgstr ""
"wyświetla wszystkie nazwy serwerów, które są połączone z tym samym serwerem "
"co my"
"wyświetla wszystkie nazwy serwerów, które są znane serwerowi "
"odpowiadającemu na zapytanie"
msgid "[[<target>] <server_mask>]"
msgstr "[[<cel>] <maska>]"
@@ -8593,7 +8600,6 @@ msgstr ""
msgid "list, add or remove IRC servers"
msgstr "wyświetla, dodaje lub usuwa serwery IRC"
#, fuzzy
msgid ""
"list|listfull [<name>] || add <name> <hostname>[/<port>] [-temp] [-"
"<option>[=<value>]] [-no<option>] || copy|rename <name> <new_name> || "
@@ -8603,9 +8609,8 @@ msgstr ""
"list|listfull [<nazwa>] || add <nazwa> <host>[/<port>] [-temp] [-"
"<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <nazwa> <nowa_nazwa> || "
"reorder <nazwa> [<nazwa>...] || open <nazwa>|-all [<nazwa>...] || del|keep "
"<nazwa> || deloutq|jump|raw"
"<nazwa> || deloutq|jump || raw [<filter>]"
#, fuzzy
msgid ""
" list: list servers (without argument, this list is displayed)\n"
"listfull: list servers with detailed info for each server\n"
@@ -8682,6 +8687,24 @@ msgstr ""
"wiadomości jakie WeeChat obecnie wysyła)\n"
" jump: przechodzi do bufora serwera\n"
" raw: otwiera bufor z nieprzetworzonymi danymi IRC\n"
" filtr: ustawia nowy filtr pokazujący tylko wybrane wiadomości (może zostać "
"również użyty jako wejście w buforze nieprzetworzonych danych IRC); "
"dozwolone formaty:\n"
" * pokaż wszystkie wiadomości (brak filtra)\n"
" xxx pokaż tylko wiadomości zawierające \"xxx\"\n"
" s:xxx pokaż tylko wiadomości od serwera \"xxx\"\n"
" f:xxx pokaż tylko wiadomości z flagą: recv (wiadomości"
" odebrane), "
"sent (wiadomości wysłane), modified (wiadomości zmodyfikowane), redirected "
"(wiadomości przekierowane)\n"
" m:xxx pokaż tylko komendę IRC \"xxx\"\n"
" c:xxx pokaż tylko wiadomości pasujące to przetworzonego warunku"
" \"xxx"
"\", używając następujących zmiennych: wynik funkcji irc_message_parse (jak "
"nick, komenda, kanał, tekst, etc., zobacz funkcję info_get_hashtable w "
"opisie API wtyczek dla listy wszystkich dostępnych zmiennych), data (format:"
" \"yyyy-mm-"
"dd hh:mm:ss\"), serwer, recv, sent, modified, redirected\n"
"\n"
"Przykłady:\n"
" /server listfull\n"
@@ -8692,7 +8715,10 @@ msgstr ""
" /server rename freenode-test freenode2\n"
" /server reorder freenode2 freenode\n"
" /server del freenode\n"
" /server deloutq"
" /server deloutq\n"
" /server raw\n"
" /server raw s:freenode\n"
" /server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo"
msgid "list services currently connected to the network"
msgstr "wyświetla serwisy obecnie połączone z siecią"
@@ -8990,9 +9016,8 @@ msgstr "numery zdefiniowanych ignorów"
msgid "nicks in notify list"
msgstr "nicki na liście powiadomień"
#, fuzzy
msgid "filters for irc raw buffer"
msgstr "kolor tekstu w buforze pośrednika"
msgstr "filtry dla bufora nieprzetworzonych wiadomości IRC"
#, c-format
msgid ""
@@ -9097,15 +9122,16 @@ msgstr ""
"plik certyfikatu SSL używany do automatycznego uwierzytelnienia nicka (\"%h"
"\" zostanie zastąpione katalogiem domowym WeeChat, domyślnie \"~/.weechat\")"
#, fuzzy
msgid ""
"password for SSL certificate's private key (note: content is evaluated, see /"
"help eval; server options are evaluated with ${irc_server.xxx} and ${server} "
"is replaced by the server name)"
msgstr ""
"hasło dla serwera (uwaga: zawartość jest przetwarzana zobacz /help eval; "
"opcje serwera mogą zostać użytego w postaci ${irc_server.xxx} oraz ${server} "
"jest zastępowany nazwą serwera)"
"hasło do klucza prywatnego certyfikatu SSL (uwaga: zawartość jest"
" przetwarzana "
"zobacz /help eval; opcje serwera mogą zostać użytego w postaci"
" ${irc_server.xxx} "
"oraz ${server} jest zastępowany nazwą serwera)"
msgid ""
"string with priorities for gnutls (for syntax, see documentation of function "
@@ -9437,6 +9463,11 @@ msgid ""
"= starting from the text only (you should try this value if you have issues "
"with the channel name encoding)"
msgstr ""
"część wiadomości IRC (otrzymanej lub wysłanej), która jest kodowana na "
"ustawione kodowanie; message = cała wiadomość IRC (domyślne), channel "
"= zaczynając od nazwy kanału (jeśli znaleziona, w przeciwnym wypadku text), "
"text = zaczynając od samego tekstu (powinieneś spróbować tej wartości, jeśli "
"masz problem z kodowaniem nazwy kanału)"
#, c-format
msgid "%s%s: error adding server \"%s\""
@@ -9548,6 +9579,10 @@ msgid ""
"causing this warning to be displayed when it is not expected (the address of "
"remote nick changes multiple times on login)"
msgstr ""
"wyświetl ostrzeżenie w prywatnym buforze jeśli adres zdalnego nicka uległ "
"zmianie; ta opcja jest domyślnie wyłączona ponieważ serwery jak bitlbee "
"powodują wyświetlanie tego ostrzeżenia, kiedy nie powinny (adres zdalnego "
"nicka zmienia się wiele razy przy logowaniu)"
msgid ""
"comma separated list of words to highlight in channel buffers (case "
@@ -9773,7 +9808,6 @@ msgstr ""
"łączy bufory serwerów; ta opcja nie ma wpływu jeśli układ jest zapisany i "
"nie pasuje do tej opcji (zobacz /help layout)"
#, fuzzy
msgid ""
"filter join/part/quit/nick messages for a nick if not speaking for some "
"minutes on channel (you must create a filter on tag \"irc_smart_filter\", "
@@ -9781,7 +9815,7 @@ msgid ""
msgstr ""
"filtruj wiadomości wejścia/opuszczenia/wyjścia/nick od nicków nie będących "
"aktywnymi od kilku minut na kanale (musisz stworzyć filtr na tagu "
"\"irc_smart_filter\")"
"\"irc_smart_filter\", zobacz /help filter)"
#. TRANSLATORS: please do not translate "chghost"
msgid "enable smart filter for \"chghost\" messages"
@@ -9866,9 +9900,8 @@ msgstr "kolor tekstu w wiadomościach o zmianie hosta"
msgid "color for text in join messages"
msgstr "kolor tekstu w wiadomościach o wejściu na kanał"
#, fuzzy
msgid "color for text in kick/kill messages"
msgstr "kolor tekstu w wiadomościach o wejściu na kanał"
msgstr "kolor tekstu w wiadomości kick/kill"
msgid "color for text in part/quit messages"
msgstr "kolor tekstu w wiadomościach o opuszczeniu kanału/wyjściu z IRC"
@@ -9908,9 +9941,8 @@ msgstr ""
msgid "color for text \"Notice\" in notices"
msgstr "kolor tekstu \"Notice\" w podświetleniach"
#, fuzzy
msgid "color for reason in kick/kill messages"
msgstr "kolor tekstu powodu opuszczenia kanału/wyjścia z IRC"
msgstr "kolor tekstu powodu w wiadomości kick/kill"
msgid "color for reason in part/quit messages"
msgstr "kolor tekstu powodu opuszczenia kanału/wyjścia z IRC"
@@ -10128,7 +10160,6 @@ msgid "\"message\": IRC message, \"server\": server name (optional)"
msgstr "\"message\": wiadomość IRC, \"server\": nazwa serwera (opcjonalne)"
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
#, fuzzy
msgid ""
"\"tags\": tags, \"message_without_tags\": message without the tags, \"nick"
"\": nick, \"user\": user, \"host\": host, \"command\": command, \"channel\": "
@@ -10140,14 +10171,18 @@ msgid ""
"index of \"text\" message (\"-1\" if \"text\" was not found)"
msgstr ""
"\"tags\": tagi, \"message_without_tags\": wiadomość bez tagów, \"nick\": "
"nick, \"host\": host, \"command\": komenda, \"channel\": kanał, \"arguments"
"\": argumenty (razem z kanałem), \"text\": tekst (na przykład wiadomość "
"użytkownika), \"pos_command\": indeks wiadomości \"command\" message (\"-1\" "
"jeśli \"command\" nie zostało znalezione), \"pos_arguments\": indeks "
"wiadomości \"arguments\" (\"-1\" jeśli \"arguments\" nie zostało "
"znalezione), \"pos_channel\": indeks wiadomości \"channel\" (\"-1\" jeśli "
"\"channel\" nie został znaleziony), \"pos_text\": indeks słowa \"text"
"\" (\"-1\" jeśli \"text\" nie został znaleziony)"
"nick, \"user\": użytkownik, \"host\": host, \"command\": komenda,"
" \"channel\": "
"kanał, \"arguments\": argumenty (razem z kanałem), \"text\": tekst (na "
"przykład wiadomość użytkownika), \"pos_command\": indeks wiadomości "
"\"command\" message (\"-1\" jeśli \"command\" nie zostało znalezione), "
"\"pos_arguments\": indeks wiadomości \"arguments\" (\"-1\" jeśli"
" \"arguments\" "
"nie zostało znalezione), \"pos_channel\": indeks wiadomości \"channel\""
" (\"-1\" "
"jeśli \"channel\" nie zostało znalezione), \"pos_text\": indeks słowa"
" \"text\" "
" (\"-1\" jeśli \"text\" nie zostało znalezione)"
msgid "split an IRC message (to fit in 512 bytes by default)"
msgstr "dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach)"
@@ -10687,9 +10722,9 @@ msgstr ""
msgid "%s%s: \"%s\" command received without host"
msgstr "%s%s: \"%s\" komenda otrzymana bez hosta"
#, fuzzy, c-format
#, c-format
msgid "IRC raw messages | Filter: %s"
msgstr "nieprzetworzone wiadomości IRC"
msgstr "nieprzetworzone wiadomości IRC | Filtry: %s"
#, c-format
msgid "%s%s: missing argument \"%s\" for redirect pattern"
@@ -11088,9 +11123,9 @@ msgstr "%s%s: nie można utworzyć katalogu dla logów (\"%s\")"
msgid "%s%s: unable to write log file \"%s\": %s"
msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s"
#, fuzzy, c-format
#, c-format
msgid "%s%s: unable to get file status of log file \"%s\": %s"
msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s"
msgstr "%s%s: nieznany status pliku z logiem \"%s\": %s"
#, c-format
msgid "%s\t**** Beginning of log ****"
@@ -11218,6 +11253,8 @@ msgid ""
"color for backlog lines, used only if the option logger.file.color_lines is "
"off"
msgstr ""
"kolor linii backloga, używany tylko jeśli opcja logger.file.color_lines jest "
"wyłączona"
msgid ""
"automatically save content of buffers to files (unless a buffer disables log)"
@@ -11229,6 +11266,8 @@ msgid ""
"use ANSI color codes in lines written in log files and display backlog lines "
"with these colors"
msgstr ""
"użyj kodów kolorów ANSI w liniach zapisywanych do plików z logami oraz "
"wyświetlaj linie backloga z tymi kolorami"
msgid ""
"number of seconds between flush of log files (0 = write in log files "
@@ -12678,9 +12717,8 @@ msgstr "%s%s: nie można ocenić wewnętrznego kodu ruby w WeeChat"
msgid "Scripts loaded:"
msgstr "Załadowane skrypty:"
#, fuzzy
msgid "No scripts loaded"
msgstr "załadowano skrypt %s:"
msgstr "Nie załadowano żadnego skryptu"
#, c-format
msgid "%s: unknown language for script \"%s\""
@@ -12852,19 +12890,17 @@ msgstr "Manager skryptów"
msgid "WeeChat script manager"
msgstr "Manager skryptów WeeChat"
#, fuzzy
msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update"
msgstr ""
"list [-o|-i] || search <tekst> || show <skrypt> || load|unload|reload "
"list [-o|-ol|-i|-il] || search <tekst> || show <skrypt> || load|unload|reload "
"<skrypt> [<skrypt>...] || autoload|noautoload|toggleautoload <skrypt> "
"[<skrypt>...] || install|remove|installremove|hold [-q] <skrypt> "
"[<skrypt>...] || upgrade || update"
#, fuzzy
msgid ""
" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer (string in English)\n"
@@ -12940,9 +12976,12 @@ msgid ""
" /script upgrade"
msgstr ""
" list: lista załadowanych skryptów (wszystkie języki)\n"
" -o: wysyła listę skryptów do bufora\n"
" -o: wysyła listę skryptów do bufora (po angielsku)\n"
" -ol: wysyła listę skryptów do bufora (przetłumaczoną)\n"
" -i: kopiuje listę skryptów do wiersza poleceń (do wysłania do "
"bufora)\n"
"bufora)(po angielsku)\n"
" -il: kopiuje listę skryptów do wiersza poleceń (do wysłania do "
"bufora)(przetłumaczone)\n"
" search: wyszukuje skryptu po tagach, języku (python, perl, ...), "
"rozszerzeniu pliku (py, pl, ...) lub tekście; wynik jest wyświetlany w "
"buforze skryptów\n"
@@ -14424,6 +14463,9 @@ msgid ""
"is removed after successful transfer; if empty string, no filename suffix is "
"used during the transfer"
msgstr ""
"sufiks tymczasowego pliku użyty podczas pobierania pliku, zostanie "
"usunięty po pomyślnym transferze; pusty ciąg oznacza, że nie zostanie "
"użyty żaden przyrostek podczas transferu pliku"
msgid ""
"path for reading files when sending (when no path is specified by user): \"%h"
+12 -9
View File
@@ -224,17 +224,20 @@ irc_mode_channel_update (struct t_irc_server *server,
current_arg++;
if (pos[0] == chanmode)
{
chanmode_found = 1;
if (set_flag == '+')
if (!chanmode_found)
{
str_mode[0] = pos[0];
str_mode[1] = '\0';
strcat (new_modes, str_mode);
if (argument)
chanmode_found = 1;
if (set_flag == '+')
{
if (new_args[0])
strcat (new_args, " ");
strcat (new_args, argument);
str_mode[0] = pos[0];
str_mode[1] = '\0';
strcat (new_modes, str_mode);
if (argument)
{
if (new_args[0])
strcat (new_args, " ");
strcat (new_args, argument);
}
}
}
}
+47
View File
@@ -643,6 +643,53 @@ irc_nick_set_mode (struct t_irc_server *server, struct t_irc_channel *channel,
}
}
/*
* Reallocates the "prefixes" string in all nicks of all channels on the server
* (after 005 has been received).
*/
void
irc_nick_realloc_prefixes (struct t_irc_server *server,
int old_length, int new_length)
{
struct t_irc_channel *ptr_channel;
struct t_irc_nick *ptr_nick;
char *new_prefixes;
for (ptr_channel = server->channels; ptr_channel;
ptr_channel = ptr_channel->next_channel)
{
for (ptr_nick = ptr_channel->nicks; ptr_nick;
ptr_nick = ptr_nick->next_nick)
{
if (ptr_nick->prefixes)
{
new_prefixes = realloc (ptr_nick->prefixes, new_length + 1);
if (new_prefixes)
{
ptr_nick->prefixes = new_prefixes;
if (new_length > old_length)
{
memset (ptr_nick->prefixes + old_length,
' ',
new_length - old_length);
}
ptr_nick->prefixes[new_length] = '\0';
}
}
else
{
ptr_nick->prefixes = malloc (new_length + 1);
if (ptr_nick->prefixes)
{
memset (ptr_nick->prefixes, ' ', new_length);
ptr_nick->prefixes[new_length] = '\0';
}
}
}
}
}
/*
* Removes a nick from a channel.
*/
+2
View File
@@ -74,6 +74,8 @@ extern void irc_nick_change (struct t_irc_server *server,
extern void irc_nick_set_mode (struct t_irc_server *server,
struct t_irc_channel *channel,
struct t_irc_nick *nick, int set, char mode);
extern void irc_nick_realloc_prefixes (struct t_irc_server *server,
int old_length, int new_length);
extern void irc_nick_free (struct t_irc_server *server,
struct t_irc_channel *channel,
struct t_irc_nick *nick);
+1 -1
View File
@@ -4689,7 +4689,7 @@ IRC_PROTOCOL_CALLBACK(352)
if (argc > 8)
{
arg_start = (strcmp (argv[8], "*") == 0) ? 9 : 8;
arg_start = ((argc > 9) && (strcmp (argv[8], "*") == 0)) ? 9 : 8;
if (argv[arg_start][0] == ':')
{
pos_attr = NULL;
+12 -1
View File
@@ -988,11 +988,15 @@ irc_server_set_prefix_modes_chars (struct t_irc_server *server,
const char *prefix)
{
char *pos;
int i, length_modes, length_chars;
int i, old_length_chars, length_modes, length_chars;
if (!server || !prefix)
return;
old_length_chars = (server->prefix_chars) ?
strlen (server->prefix_chars) :
strlen (irc_server_prefix_chars_default);
/* free previous values */
if (server->prefix_modes)
{
@@ -1032,6 +1036,13 @@ irc_server_set_prefix_modes_chars (struct t_irc_server *server,
}
}
}
length_chars = (server->prefix_chars) ?
strlen (server->prefix_chars) :
strlen (irc_server_prefix_chars_default);
if (length_chars != old_length_chars)
irc_nick_realloc_prefixes (server, old_length_chars, length_chars);
}
/*
+8 -9
View File
@@ -89,7 +89,7 @@ Examples:
$0 test-patches
EOF
exit ${RC}
exit "${RC}"
}
error ()
@@ -109,10 +109,9 @@ test_patches ()
set +e
PATCHES_OK=0
PATCHES_ERROR=0
for file in ${ROOT_DIR}/tools/debian/patches/*.patch; do
for file in "${ROOT_DIR}"/tools/debian/patches/*.patch; do
echo "=== Testing patch ${file} ==="
git apply --check "${file}"
if [ $? -eq 0 ]; then
if git apply --check "${file}"; then
PATCHES_OK=$((PATCHES_OK+1))
else
PATCHES_ERROR=$((PATCHES_ERROR+1))
@@ -136,7 +135,7 @@ fi
# check git repository
ROOT_DIR=$(git rev-parse --show-toplevel)
if [ -z "${ROOT_DIR}" -o ! -d "${ROOT_DIR}/.git" -o ! -d "${ROOT_DIR}/debian-stable" ]; then
if [ -z "${ROOT_DIR}" ] || [ ! -d "${ROOT_DIR}/.git" ] || [ ! -d "${ROOT_DIR}/debian-stable" ]; then
error "this script must be run from WeeChat git repository."
fi
cd "${ROOT_DIR}"
@@ -161,7 +160,7 @@ DISTRO="$2"
# example: devel => devel / 1, stable-2 => stable / 2, 1.9-2 => 1.9 / 2
TMP_VERSION=$(expr "${VERSION}" : '\([^/]*\)-') || true
DEB_REVISION=""
if [ ! -z "${TMP_VERSION}" ]; then
if [ -n "${TMP_VERSION}" ]; then
DEB_REVISION=$(expr "${VERSION}" : '[^-]*-\([^-]*\)') || true
VERSION="${TMP_VERSION}"
fi
@@ -171,7 +170,7 @@ fi
# convert version "stable" to its number
if [ "${VERSION}" = "stable" ]; then
VERSION="$(${ROOT_DIR}/version.sh stable)"
VERSION="$("${ROOT_DIR}/version.sh" stable)"
fi
if [ -z "${VERSION}" ]; then
@@ -184,7 +183,7 @@ DISTRO_TYPE=$(expr "${DISTRO}" : '\([^/]*\)/') || true
# extract distro name (sid, jessie, wily, ...)
DISTRO_NAME=$(expr "${DISTRO}" : '[^/]*/\([a-z]*\)') || true
if [ -z "${DISTRO_TYPE}" -o -z "${DISTRO_NAME}" ]; then
if [ -z "${DISTRO_TYPE}" ] || [ -z "${DISTRO_NAME}" ]; then
error_usage "missing distro type/name"
fi
@@ -205,7 +204,7 @@ if [ "${VERSION}" = "devel" ]; then
# devel packages: weechat-devel(-xxx)_X.Y-1~dev20150511_arch.deb
DEB_DIR="debian-devel"
DEB_NAME="weechat-devel"
DEB_VERSION="$(${ROOT_DIR}/version.sh devel)-1~dev$(date '+%Y%m%d')"
DEB_VERSION="$("${ROOT_DIR}/version.sh" devel)-1~dev$(date '+%Y%m%d')"
if [ "${DEB_REVISION}" != "1" ]; then
DEB_VERSION="${DEB_VERSION}-${DEB_REVISION}"
fi
+3 -5
View File
@@ -39,9 +39,8 @@
run ()
{
echo "Running \"$@\"..."
eval $@
if [ $? -ne 0 ]; then
echo "Running \"$*\"..."
if ! eval "$@"; then
echo "ERROR"
exit 1
fi
@@ -72,8 +71,7 @@ if [ "$BUILDTOOL" = "cmake" ]; then
run "cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON ${BUILDARGS}"
run "make VERBOSE=1 -j$(nproc)"
run "sudo make install"
run "ctest -V"
if [ $? -eq 0 ] && [ "$CODECOVERAGE" = "1" ]; then
if run "ctest -V" && [ "$CODECOVERAGE" = "1" ]; then
run "lcov --directory . --capture --output-file coverage.info"
run "lcov --remove coverage.info '/usr/*' --output-file coverage.info"
run "lcov --list coverage.info"
@@ -37,7 +37,7 @@ index a862fdd6c..0b3c016ff 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
@@ -154,7 +154,7 @@ index c0326b3f5..44206d418 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
@@ -35,7 +35,7 @@ index a862fdd6c..968534b1c 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
@@ -138,7 +138,7 @@ index c0326b3f5..a5a44c65a 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
+6 -7
View File
@@ -47,7 +47,7 @@ case ${VERSION} in
*-*)
# devel/rc version (like 0.4.0-dev or 0.4.0-rc1)
if [ -d "${ROOTDIR}/.git" ]; then
GIT_VERSION=$(cd ${ROOTDIR} && git describe 2>/dev/null)
GIT_VERSION=$(cd "${ROOTDIR}" && git describe 2>/dev/null)
fi
;;
*)
@@ -56,19 +56,18 @@ case ${VERSION} in
esac
# check if git version has changed
if [ ! -f ${HEADERFILE} ]; then
if [ ! -f "${HEADERFILE}" ]; then
# header does not exist => create it
echo "Creating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
echo "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" >${HEADERFILE}
echo "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" >"${HEADERFILE}"
else
grep -q "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" ${HEADERFILE}
if [ $? -eq 0 ]; then
if grep -q "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" "${HEADERFILE}"; then
# git version matches the file => NO update
echo "File ${HEADERFILE} is up-to-date (git version: \"${GIT_VERSION}\")"
else
# git version not found in file => update file with this git version
echo "Updating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
sed "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" ${HEADERFILE} >${HEADERFILE}.tmp
mv -f ${HEADERFILE}.tmp ${HEADERFILE}
sed "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" "${HEADERFILE}" >"${HEADERFILE}.tmp"
mv -f "${HEADERFILE}.tmp" "${HEADERFILE}"
fi
fi
+7 -7
View File
@@ -35,13 +35,13 @@
# check git repository
ROOT_DIR=$(git rev-parse --show-toplevel)
if [ -z "${ROOT_DIR}" -o ! -d "${ROOT_DIR}/.git" ]; then
if [ -z "${ROOT_DIR}" ] || [ ! -d "${ROOT_DIR}/.git" ]; then
echo "This script must be run from WeeChat git repository."
exit 1
fi
# default values
VERSION="$(${ROOT_DIR}/version.sh devel-full)"
VERSION="$("${ROOT_DIR}/version.sh" devel-full)"
TREEISH="HEAD"
OUTPATH="$(pwd)"
@@ -52,19 +52,19 @@ if [ $# -ge 2 ]; then
TREEISH=$2
fi
if [ $# -ge 3 ]; then
OUTPATH=$(cd "$3"; pwd)
OUTPATH=$(cd "$3" || exit 1; pwd)
fi
cd "${ROOT_DIR}"
cd "${ROOT_DIR}" || exit 1
PREFIX="weechat-${VERSION}/"
FILE="${OUTPATH}/weechat-${VERSION}.tar"
echo "Building package ${FILE}.gz"
git archive --prefix=${PREFIX} ${TREEISH} | gzip -c >${FILE}.gz
git archive --prefix="${PREFIX}" "${TREEISH}" | gzip -c >"${FILE}.gz"
echo "Building package ${FILE}.bz2"
git archive --prefix=${PREFIX} ${TREEISH} | bzip2 -c >${FILE}.bz2
git archive --prefix="${PREFIX}" "${TREEISH}" | bzip2 -c >"${FILE}.bz2"
echo "Building package ${FILE}.xz"
git archive --prefix=${PREFIX} ${TREEISH} | xz -c >${FILE}.xz
git archive --prefix="${PREFIX}" "${TREEISH}" | xz -c >"${FILE}.xz"
+3 -3
View File
@@ -32,9 +32,9 @@
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
#
WEECHAT_STABLE=2.6
WEECHAT_DEVEL=2.7
WEECHAT_DEVEL_FULL=2.7-rc1
WEECHAT_STABLE=2.7.1
WEECHAT_DEVEL=2.7.1
WEECHAT_DEVEL_FULL=2.7.1
if [ $# -lt 1 ]; then
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
+5 -1
View File
@@ -23,7 +23,7 @@
#
%define name weechat
%define version 2.6
%define version 2.7.1
%define release 1
Name: %{name}
@@ -82,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/share/icons/hicolor/512x512/apps/weechat.png
%changelog
* Thu Feb 20 2020 Sébastien Helleu <flashcode@flashtux.org> 2.7.1-1
- Released version 2.7.1
* Sun Dec 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.7-1
- Released version 2.7
* Sun Sep 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.6-1
- Released version 2.6
* Thu Jun 06 2019 Sébastien Helleu <flashcode@flashtux.org> 2.5-1