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

Compare commits

..

22 Commits

Author SHA1 Message Date
Sébastien Helleu 24f4f8fffa relay: fix crash when decoding a malformed websocket frame (CVE-2021-40516) 2021-09-07 19:05:06 +02:00
Sébastien Helleu 6f352deefe Version 2.3.1-dev 2021-09-07 19:00:23 +02:00
Sébastien Helleu 6620f40efa Version 2.3 2018-10-21 11:12:41 +02:00
Sébastien Helleu 438313d331 core: replace call to strncpy by memcpy
This fixes a gcc warning: "warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length
[-Wstringop-truncation]".
2018-10-21 08:54:04 +02:00
Sébastien Helleu eb77c78dad irc: fix uninitialized variables in function irc_protocol_cap_sync 2018-10-21 08:53:22 +02:00
Sébastien Helleu 1a3bd49a46 debian: update changelog 2018-10-21 08:30:35 +02:00
Sébastien Helleu e3e4c89b5e debian: fix copyright Format URI 2018-10-21 08:28:50 +02:00
Sébastien Helleu 5bc37eeee3 debian: bump Standards-Version to 4.1.5 2018-10-21 08:22:31 +02:00
Sébastien Helleu 4939e9659f doc: update Polish auto-generated files 2018-10-19 20:24:35 +02:00
Krzysztof Korościk e9be61b133 po: updated polish translation 2018-10-19 20:17:56 +02:00
Krzysztof Korościk 585257196d doc: updated polish translation 2018-10-19 19:46:23 +02:00
Sébastien Helleu e7cb025e68 php: add detection of PHP 7.3 2018-10-16 23:02:13 +02:00
Sébastien Helleu 9bc9b4c86b core: add contributor in AUTHORS.adoc (issue #1267) 2018-10-14 21:05:09 +02:00
Sébastien Helleu f17cee75dc core: update ChangeLog (issue #1267) 2018-10-14 21:03:56 +02:00
Sébastien Helleu c5ccac9e22 Merge pull request #1267 from emkw/master
lua: mkdir API functions should return ERROR on error.
2018-10-14 21:03:24 +02:00
Sébastien Helleu 37da24ca22 doc: update auto-generated files with IRC options 2018-10-14 21:02:03 +02:00
Nils Görs 21b4294f4e core: update German translations 2018-10-14 20:50:03 +02:00
emk 63e2a3dab9 lua: mkdir API functions should return ERROR on error. 2018-10-14 20:39:00 +02:00
Sébastien Helleu d07701dae6 irc: fix colors 14 and 15 in /help irc.color.mirc_remap (closes #1266) 2018-10-14 20:38:14 +02:00
Sébastien Helleu 8d1dcb666a doc: update Japanese auto-generated file 2018-10-14 09:14:48 +02:00
Sébastien Helleu b348479e4c Merge pull request #1265 from l/master/translation/ja_JP
core: update Japanese translations
2018-10-14 09:13:48 +02:00
AYANOKOUZI, Ryuunosuke 85544ca6dd core: update Japanese translations 2018-10-14 09:00:00 +09:00
47 changed files with 490 additions and 459 deletions
+1
View File
@@ -38,6 +38,7 @@ Alphabetically:
* Elizabeth Myers (Elizacat)
* Elián Hanisch (m4v)
* Emanuele Giaquinta
* emk
* Esteban I. Ruiz Moreno (Exio)
* Evgeny Shmarnev
* Felix Eckhofer
+13 -1
View File
@@ -15,8 +15,15 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
[[v2.3.1]]
== Version 2.3.1 (under dev)
Bug fixes::
* relay: fix crash when decoding a malformed websocket frame (CVE-2021-40516)
[[v2.3]]
== Version 2.3 (under dev)
== Version 2.3 (2018-10-21)
New features::
@@ -41,12 +48,17 @@ Bug fixes::
* core: fix clear of completion item in case of partial completion (issue #1162)
* core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid (issue #1220)
* api: fix memory leak in function string_split
* lua: fix return code of mkdir functions in case of error (issue #1267)
* scripts: fix duplicated lines in output of script eval (python, perl, ruby, lua and guile)
Tests::
* unit: add tests on line and hook functions
Build::
* php: add detection of PHP 7.3
[[v2.2]]
== Version 2.2 (2018-07-14)
+5
View File
@@ -17,6 +17,11 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file _ChangeLog.adoc_ in sources).
[[v2.3]]
== Version 2.3 (2018-10-21)
No release note.
[[v2.2]]
== Version 2.2 (2018-07-14)
+2 -1
View File
@@ -28,6 +28,7 @@ endif()
if(NOT PHP_FOUND)
find_program(PHP_CONFIG_EXECUTABLE NAMES
php-config7.3 php-config73
php-config7.2 php-config72
php-config7.1 php-config71
php-config7.0 php-config70
@@ -39,7 +40,7 @@ if(NOT PHP_FOUND)
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
if(${PHP_VERSION} MATCHES "^7")
find_library(PHP_LIB
NAMES php7.2 php7.1 php7.0 php7
NAMES php7.3 php7.2 php7.1 php7.0 php7
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64)
if(PHP_LIB)
get_filename_component(PHP_LIB_DIR ${PHP_LIB} DIRECTORY)
+3 -3
View File
@@ -968,7 +968,7 @@ if test "x$enable_php" = "xyes" ; then
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
AC_MSG_CHECKING(for PHP headers and libraries with pkg-config)
echo
for l in "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
for l in "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
pkgconfig_php_found=`$PKGCONFIG --exists php$l 2>/dev/null`
if test "x$?" = "x0" ; then
pkgconfig_php_found=`$PKGCONFIG --atleast-version=7 php$l 2>/dev/null`
@@ -985,7 +985,7 @@ if test "x$enable_php" = "xyes" ; then
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
PHPCONFIG=""
AC_MSG_CHECKING(for PHP headers and libraries with php-config)
for l in "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
for l in "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
AC_CHECK_PROG(PHPCONFIG, "php-config$l", "php-config$l")
if test "x$PHPCONFIG" != "x" ; then
php_config_version=`$PHPCONFIG --version`
@@ -1006,7 +1006,7 @@ if test "x$enable_php" = "xyes" ; then
if test "x$ac_found_php_header" = "xyes" ; then
PHP_CFLAGS="$CFLAGS"
fi
for l in "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
for l in "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
AC_CHECK_LIB(php$l,php_execute_script,ac_found_php_lib="yes",ac_found_php_lib="no")
if test "x$ac_found_php_lib" = "xyes" ; then
PHP_VERSION=">=7.0.0"
+1 -1
View File
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 4.1.3
Standards-Version: 4.1.5
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+17
View File
@@ -1,3 +1,20 @@
weechat (2.2-1) unstable; urgency=medium
* New upstream release
* Remove upstream patch about localized manpages for weechat-headless
* Bump Standards-Version to 4.1.5
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 19 Sep 2018 09:41:45 +0000
weechat (2.1-2) unstable; urgency=medium
* Disable build of javascript plugin to fix weechat autoremoval from
testing (RC bugs in libv8) (Closes: #894680)
* Add missing localized manpages for weechat-headless
* Fix debian/copyright Format URI
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 03 Apr 2018 10:48:35 +0200
weechat (2.1-1) unstable; urgency=medium
* New upstream release (Closes: #887114)
+1 -1
View File
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 4.1.3
Standards-Version: 4.1.5
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+1 -1
View File
@@ -1,4 +1,4 @@
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: weechat
Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
Source: https://weechat.org/
+1 -1
View File
@@ -51,7 +51,7 @@
** Standardwert: `+red+`
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** Beschreibung: pass:none[ersetzt mirc Farben in Nachrichten mittels einer Hashtabelle: Schlüssel sind "fg,bg" als Ganzzahl zwischen -1 (nicht näher bezeichnet) und 15. Als Wert ist der Farbname oder die Farbnummer von WeeChat möglich (Format: "1,-1:Farbe1;2,7:Farbe2"), Beispiel: "1,-1:darkgray;1,2:white,blue" ersetzt schwarz durch "darkgray" und schwarz auf blau durch "white,blue"; Tabelle der Standard-IRC-Farben von WeeChat (in Klammern der Farbname, wie er von WeeChat genutzt wird): 0=weiß (white), 1=schwarz (black), 2=blau (blue), 3=grün (green), 4=hellrot (lightred), 5=rot (red), 6=violett (magenta), 7=braun (brown), 8=gelb (yellow), 9= hell-grün (lightgreen), 10=türkis (cyan), 11=hell-türkis (lightcyan), 12=hellblau (lightblue), 13=hell-violett (lightmagenta), 14=grau (gray), 15=weiß (white)]
** Beschreibung: pass:none[ersetzt mirc Farben in Nachrichten mittels einer Hashtabelle: Schlüssel sind "fg,bg" als Ganzzahl zwischen -1 (nicht näher bezeichnet) und 15. Als Wert ist der Farbname oder die Farbnummer von WeeChat möglich (Format: "1,-1:Farbe1;2,7:Farbe2"), Beispiel: "1,-1:darkgray;1,2:white,blue" ersetzt schwarz durch "darkgray" und schwarz auf blau durch "white,blue"; Tabelle der Standard-IRC-Farben von WeeChat (in Klammern der Farbname, wie er von WeeChat genutzt wird): 0=weiß (white), 1=schwarz (black), 2=blau (blue), 3=grün (green), 4=hellrot (lightred), 5=rot (red), 6=violett (magenta), 7=braun (brown), 8=gelb (yellow), 9= hell-grün (lightgreen), 10=türkis (cyan), 11=hell-türkis (lightcyan), 12=hellblau (lightblue), 13=hell-violett (lightmagenta), 14=dunkel-grau (darkgray), 15=grau (gray)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"1,-1:darkgray"+`
+1 -1
View File
@@ -51,7 +51,7 @@
** default value: `+red+`
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** description: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white]
** description: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
** type: string
** values: any string
** default value: `+"1,-1:darkgray"+`
+1 -1
View File
@@ -51,7 +51,7 @@
** valeur par défaut: `+red+`
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** description: pass:none[réassigner les couleurs mirc dans les messages en utilisant une table de hachage : les clés sont "fg,bg" sous forme d'entiers entre -1 (non spécifié) et 15, les valeurs sont des noms de couleur WeeChat ou nombres (le format est : "1,-1:couleur1;2,7:couleur2"), exemple : "1,-1:darkgray;1,2:white,blue" pour réassigner le noir en "darkgray" et le noir sur bleu en "white,blue" ; les couleurs WeeChat par défaut pour les codes IRC sont : 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white]
** description: pass:none[réassigner les couleurs mirc dans les messages en utilisant une table de hachage : les clés sont "fg,bg" sous forme d'entiers entre -1 (non spécifié) et 15, les valeurs sont des noms de couleur WeeChat ou nombres (le format est : "1,-1:couleur1;2,7:couleur2"), exemple : "1,-1:darkgray;1,2:white,blue" pour réassigner le noir en "darkgray" et le noir sur bleu en "white,blue" ; les couleurs WeeChat par défaut pour les codes IRC sont : 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"1,-1:darkgray"+`
+1 -1
View File
@@ -51,7 +51,7 @@
** valore predefinito: `+red+`
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** descrizione: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white]
** descrizione: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"1,-1:darkgray"+`
+1 -1
View File
@@ -51,7 +51,7 @@
** デフォルト値: `+red+`
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** 説明: pass:none[メッセージに含まれる mirc の定義する色に対するマッピングをハッシュテーブルで変更: キーは "fg,bg" で -1 (指定無し) から 15 までの整数、値は WeeChat 色名か色番号 (書式: "1,-1:color1;2,7:color2")、例: "1,-1:darkgray;1,2:white,blue" はテキスト色が黒のものを "darkgray" に、背景色が青でテキスト色が黒のものを "white,blue" に変更; IRC コードに対するデフォルトの WeeChat 色は、0=白、1=黒、2=青、3=緑、4=ライトレッド、5=赤、6=赤紫、7=茶色、8=黄色、9=ライトグリーン、10=シアン、11=ライトシアン、12=ライトブルー、13=ライトマゼンタ、14=灰色、15=白]
** 説明: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"1,-1:darkgray"+`
+96 -96
View File
@@ -86,62 +86,62 @@ message: 離席メッセージ (メッセージが無い場合は、離席状態
get <property>
<number>|-|+|<name>
list: list buffers (without argument, this list is displayed)
add: add a new buffer (it can be closed with "/buffer close" or input "q")
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1); "-" = move to first buffer number, "+" = move to last buffer number + 1
swap: swap two buffers (swap with current buffer if only one number/name given)
cycle: jump loop between a list of buffers
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
hide: hide the buffer
unhide: unhide the buffer
renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumber is off)
close: close buffer (number/range or name is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for the buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
-: jump to first buffer number
+: jump to last buffer number
name: jump to buffer by (partial) name
list: バッファをリストアップ (引数無しの場合、このリストが表示されます)
add: 新しいバッファを追加 (バッファを閉じるには "/buffer close" または "q" を使ってください)
clear: バッファの内容を削除 (number はバッファ番号、マージバッファに対しては -merged、全てのバッファに対しては -all、何も無ければ現在のバッファ)
move: リストにバッファを移動 (相対指定も可能、例えば -1); "-" = 最初のバッファ番号に移動、"+" = 最後のバッファ番号 + 1 に移動
swap: 2 つのバッファを入れ替え (現在のバッファと引数で与えた番号/名称で指定されるバッファを入れ替える)
cycle: 指定したバッファ間でバッファを循環させる
merge: 現在のバッファを他のバッファにマージ (2 つのバッファのチャットエリアが一緒になります)
(デフォルトでは ctrl-x でマージバッファの切り替え)
unmerge: 同じ番号を持つ他のバッファとのマージを解除
hide: バッファを隠す
unhide: バッファを隠すことを止める
renumber: バッファを記憶 (weechat.look.buffer_auto_renumber オプションがオフの場合にのみ有効)
close: バッファを閉じる (番号/範囲または名前は任意)
notify: 現在のバッファの通知レベルを設定: このレベルでバッファがホットリストに追加されるかどうかを定義します:
none: 通知しない
highlight: ハイライトがあった場合のみ通知
message: ユーザからのメッセージとハイライトがあった場合に通知
all: 全てのメッセージを通知
reset: デフォルトの値 (all) にリセット
localvar: 現在のバッファのローカル変数を表示
set: 現在のバッファのプロパティを設定
get: 現在のバッファのプロパティを表示
number: 番号でバッファ移動、可能なプレフィックス:
'+': 相対移動、現在の番号に数を足す
'-': 相対移動、現在の番号から数を引く
'*': 番号に移動、オプション "weechat.look.jump_current_to_previous_buffer" が使われる
-: 最初のバッファ番号に移動
+: 最後のバッファ番号に移動
name: バッファ名 (一部) でバッファに移動
Examples:
clear current buffer:
:
現在のバッファの内容を消去:
/buffer clear
move buffer to number 5:
バッファを 5 番に移動:
/buffer move 5
swap buffer 1 with 3:
バッファ 1 番と 3 番を入れ替え:
/buffer swap 1 3
swap buffer #weechat with current buffer:
現在のバッファと #weechat バッファを入れ替え:
/buffer swap #weechat
jump on #chan1, #chan2, #chan3 and loop:
#chan1#chan2#chan3 に移動してそれを繰り返す:
/buffer cycle #chan1 #chan2 #chan3
merge with core buffer:
コアバッファとマージ:
/buffer merge 1
merge with #weechat buffer:
#weechat バッファとマージ:
/buffer merge #weechat
unmerge buffer:
バッファマージの解除:
/buffer unmerge
close current buffer:
現在のバッファを閉じる:
/buffer close
close buffers 5 to 7:
バッファ番号 5 から 7 を閉じる:
/buffer close 5-7
jump to #weechat:
#weechat バッファに移動:
/buffer #weechat
jump to next buffer:
次のバッファに移動:
/buffer +1
jump to last buffer number:
最後のバッファ番号に移動:
/buffer +
----
@@ -261,61 +261,61 @@ infolists: インフォリストに関する情報を表示
/eval [-n|-s] <expression>
[-n] -c <expression1> <operator> <expression2>
-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: 結果をバッファに送信せずに表示 (デバッグモード)
-s: 評価前に式を分割する (複数のコマンドを指定する場合はセミコロンで区切ってください)
-c: 条件として評価: 演算子と括弧をを使い、ブール値 ("0" または "1") を返します
expression: 評価する式、${variable} 型の書式の変数は置換されます (以下を参照してください); 複数のコマンドを指定する場合はセミコロンで区切ってください
operator: 論理演算子や比較演算子:
- 論理演算子:
&& ブール演算の "and"
|| ブール演算の "or"
- 比較演算子:
== 等しい
!= 等しくない
<= 以下
< より少ない
>= 以上
> より大きい
=~ POSIX 拡張正規表現にマッチ
!~ POSIX 拡張正規表現にマッチしない
=* マスクにマッチ (ワイルドカード "*" を使えます)
!* マスクにマッチしない (ワイルドカード "*" を使えます)
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:
式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
浮動小数点数として比較される数値表現の書式は以下です:
- 整数 (例: 5-7)
- 浮動小数点数 (例: 5.2-7.52.83e-2)
- 16 進数 (例: 0xA3-0xA3)
数値表現を二重引用符で括ることで、文字列として比較されます。例:
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")
6. a repeated string (format: "repeat:count,string")
7. a color (format: "color:xxx", see "Plugin API reference", function "color")
8. an info (format: "info:name,arguments", arguments are optional)
9. current date/time (format: "date" or "date:format")
10. an environment variable (format: "env:XXX")
11. a ternary operator (format: "if:condition?value_if_true:value_if_false")
12. an option (format: "file.section.option")
13. a local variable in buffer
14. 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".
式中の ${variable} 型の書式の変数は置換されます。変数は以下の優先順位に従います:
1. 評価済みのサブ文字列 (書式: "eval:xxx")
2. エスケープ文字を含む文字列 (書式: "esc:xxx" または "\xxx")
3. 隠す文字を含む文字列 (書式: "hide:char,string")
4. 最大文字数を指定した文字列 (書式: "cut:max,suffix,string" または "cut:+max,suffix,string")
または最大文字表示幅を指定した文字列 (書式: "cutscr:max,suffix,string" または "cutscr:+max,suffix,string")
5. 文字順を反転させた文字列 (書式: "rev:xxx")
6. 繰り返し文字列 (書式: "repeat:count,string")
7. 色 (書式: "color:xxx"、"プラグイン API リファレンス" の "color" 関数を参照してください)
8. 情報 (書式: "info:name,arguments"arguments は任意)
9. 現在の日付/時刻 (書式: "date" または "date:format")
10. 環境変数 (書式: "env:XXX")
11. 三項演算子 (書式: "if:condition?value_if_true:value_if_false")
12. オプション (書式: "file.section.option")
13. バッファのローカル変数
14. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "window" "buffer" は現在のウィンドウ/バッファを指します。
hdata の書式は以下の 1 つです:
hdata.var1.var2...: hdata (ポインタは既知) で開始し、1 個ずつ変数を続ける (他の hdata を続けることも可能)
hdata[list].var1.var2...: リストを使う hdata で開始する、例:
${buffer[gui_buffers].full_name}: バッファリストにリンクされた最初のバッファのフルネーム
${plugin[weechat_plugins].name}: プラグインリストにリンクされた最初のプラグインの名前
hdata[pointer].var1.var2...: ポインタを使う hdata で開始する、例:
${buffer[0x1234abcd].full_name}: 与えたポインタを持つバッファの完全な名前 (トリガ中で使うことが可能です)
hdata と変数の名前については、"プラグイン API リファレンス" の "weechat_hdata_get" 関数を参照してください。
Examples (simple strings):
例 (単純な文字列):
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
@@ -330,10 +330,10 @@ Examples (simple strings):
/eval -n ${cut:+3,+,test} ==> te+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
/eval -n ${rev:Hello} ==> olleH
/eval -n ${repeat:5,-} ==> -----
/eval -n ${rev:Hello} ==> olleH\n"
/eval -n ${repeat:5,-} ==> -----\n"
Examples (conditions):
例 (条件):
/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 -3
View File
@@ -2298,10 +2298,9 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+${rev:Hello, world!}+` |
`+!dlrow ,olleH+`
// TRANSLATION MISSING
| `+${repeat:count,string}+` +
(_WeeChat ≥ 2.3_) |
Repeated string. |
(_WeeChat バージョン 2.3 以上で利用可_) |
繰り返し文字列。|
`+${repeat:5,-}+` |
`+-----+`
+1 -1
View File
@@ -51,7 +51,7 @@
** domyślna wartość: `+red+`
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** opis: pass:none[zamień kolory mirca w wiadomościach używając tablicy hashy: klucze to "fg,bg" przyjmują one wartości pomiędzy -1 (nie określono) a 15, wartości to nazwy lub numery kolorów WeeChat (format: "1,-1:kolor1;2,7:kolor2"), przykład: "1,-1:darkgray;1,2:white,blue" w celu przemapowania czarnego na "darkgray" oraz czarnego na niebieskim tle na "white,blue"; domyślne kolory WeeChat dla kodów IRC: 0-=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white]
** opis: pass:none[zamień kolory mirca w wiadomościach używając tablicy hashy: klucze to "fg,bg" przyjmują one wartości pomiędzy -1 (nie określono) a 15, wartości to nazwy lub numery kolorów WeeChat (format: "1,-1:kolor1;2,7:kolor2"), przykład: "1,-1:darkgray;1,2:white,blue" w celu przemapowania czarnego na "darkgray" oraz czarnego na niebieskim tle na "white,blue"; domyślne kolory WeeChat dla kodów IRC: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"1,-1:darkgray"+`
+18 -18
View File
@@ -11,30 +11,30 @@
flush
disable
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
flush: write all log files now
disable: disable logging on current buffer (set level to 0)
list: pokazuje status logów dla otwartych buforów
set: ustawia poziom logowania dla obecnego bufora
poziom: poziom logowanych wiadomości (0 = wyłączone, 1 = kilka wiadomości (najważniejsze) .. 9 = wszystkie wiadomości)
flush: zapisuje natychmiast wszystkie pliki z logami
disable: wyłącza logowanie dla obecnego bufora (ustawia poziom na 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Opcje "logger.level.*" oraz "logger.mask.*" mogą być użyte do ustawienia poziomu lub maski dla bufora lub buforów zaczynających się od nazwy.
Log levels used by IRC plugin:
1: user message (channel and private), notice (server and channel)
2: nick change
3: server message
4: join/part/quit
9: all other messages
Poziomy logowania używane przez wtyczkę IRC:
1: wiadomości użytkowników (z kanałów i prywatne), powiadomienia (od serwerów i kanałów)
2: zmiany nicków
3: wiadomości serwera
4: wejścia/opuszczenia/wyjścia
9: wszystkie pozostałe wiadomości
Examples:
set level to 5 for current buffer:
Przykłady:
ustawia poziom na 5 dla obecnego bufora:
/logger set 5
disable logging for current buffer:
wyłącza logowanie w obecnym buforze:
/logger disable
set level to 3 for all IRC buffers:
ustawia poziom na 3 dla wszystkich buforów IRC:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
wyłącza logowanie głównego bufora WeeChat:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
użyj oddzielnych katalogów dla serwerów IRC, oraz oddzielnych plików dla kanałów:
/set logger.mask.irc "$server/$channel.weechatlog"
----
+55 -55
View File
@@ -20,67 +20,67 @@
default -yes
monitor [<filtr>]
list: list triggers (without argument, this list is displayed)
listfull: list triggers with detailed info for each trigger
listdefault: list default triggers
add: add a trigger
addoff: add a trigger (disabled)
addreplace: add or replace an existing trigger
name: name of trigger
list: lista triggerów (jeśli nie podano argumentu, wyświetli się ta lista)
listfull: lista triggerów ze szczegółowymi informacjami
listdefault: lista domyślnych triggerów
add: dodaje trigger
addoff: dodaje trigger (wyłączony)
addreplace: dodaje lub zastępuje istniejący trigger
nazwa: nazwa triggera
hook: signal, hsignal, modifier, line, print, command, command_run, timer, config, focus
arguments: arguments for the hook, depending on hook (separated by semicolons):
signal: name(s) of signal (required)
hsignal: name(s) of hsignal (required)
modifier: name(s) of modifier (required)
line: buffer type ("formatted", "free" or "*"), list of buffer masks, tags
print: buffer, tags, message, strip colors
command: command (required), description, arguments, description of arguments, completion
command_run: command(s) (required)
timer: interval (required), align on second, max calls
config: name(s) of option (required)
focus: name(s) of area (required)
conditions: evaluated conditions for the trigger
regex: one or more regular expressions to replace strings in variables
command: command to execute (many commands can be separated by ";")
return_code: return code in callback (ok (default), ok_eat, error)
post_action: action to take after execution (none (default), disable, delete)
addinput: set input with default arguments to create a trigger
input: set input with the command used to create the trigger
output: send the command to create the trigger on the buffer
recreate: same as "input", with option "addreplace" instead of "add"
set: set an option in a trigger
option: name of option: name, hook, arguments, conditions, regex, command, return_code
(for help on option, you can type: /help trigger.trigger.<name>.<option>)
value: new value for the option
rename: rename a trigger
copy: copy a trigger
enable: enable trigger(s) (without arguments: enable triggers globally)
disable: disable trigger(s) (without arguments: disable triggers globally)
toggle: toggle trigger(s) (without arguments: toggle triggers globally)
restart: restart trigger(s) (recreate the hooks)
show: show detailed info on a trigger (with some stats)
del: delete a trigger
-all: do action on all triggers
restore: restore trigger(s) with the default values (works only for default triggers)
default: delete all triggers and restore default ones
monitor: open the trigger monitor buffer, with optional filter:
filter: filter hooks/triggers to display (a hook must start with "@", for example "@signal"), many filters can be separated by commas; wildcard "*" is allowed in each trigger name
argumenty: argumenty dla uchwytu, w zależności od jego typu (oddzielone średnikami):
signal: nazwa(-y) signal (wymagane)
hsignal: nazwa(-y) hsignal (wymagane)
modifier: nazwa(-y) modifier (wymagane)
line: typ bufora("formatted", "free" lub "*"), lista mask buforów, tagów
print: bufor, tagi, wiadomość, pomiń kolory
command: komenda (wymagane), opis, argumenty, opis argumentów, dopełnienie
command_run: komenda(-y) (wymagane)
timer: interwał (wymagane), wyrównanie sekund, ilość wywołań
config: nazwa(-y) opcji (wymagane)
focus: nazwa(-y) obszarów (wymagane)
warunki: przetwarzane warunki dla triggera
regex: jedno lub więcej wyrażeń regularnych do zastępowania ciągów w zmiennych
komenda: komenda do wykonania (wiele komend można oddzielić ";")
zwracany_kod: kod zwracany w callbacku (ok (domyślne), ok_eat, error)
post_action: akcja do wykonania po zakończeniu (none (domyślne), disable, delete)
addinput: ustawia wejście z domyślnymi argumentami do stworzenia triggera
input: ustawia wejście z komendą użytą do stworzenia triggera
output: wysyła komendę do stworzenia triggera do buforu
recreate: tak samo jak "input", z opcją "addreplace" zamiast "add"
set: ustawia opcje triggera
opcja: nazwa opcji: name, hook, arguments, conditions, regex, command, return_code
(aby uzyskać pomoc na temat opcji możesz wpisać: /help trigger.trigger.<nazwa>.<opcja>)
wartość: nowa wartość dla opcji
rename: zmienia nazwę triggera
copy: kopiuje trigger
enable: włącza trigger(y) (bez argumentów: włącza triggery globalnie)
disable: wyłącza trigger(y) (bez argumentów: wyłącza triggery globalnie)
toggle: zmienia stan triggera(-ów) (bez argumentów: zmienia stan triggerów globalnie)
restart: restartuje trigger(y) (tworzy na nowo uchwyty)
show: pokazuje szczegółowe informacje o triggerze (z niektórymi statystykami)
del: usuwa trigger
-all: wykonaj akcję na wszystkich triggerach
restore: przywraca trigger(y) z domyślnymi wartościami (działa tylko dla domyślnych triggerów)
default: przywraca domyślne triggery
monitor: otwiera bufor monitorowania triggerów, z opcjonalnym filtrem:
filtr: filtruje uchwyty/triggery do wyświetlenia (uchwyt musi się zaczynać od "@", na przykład "@signal"), wiele filtrów może być oddzielonych przecinkiem; dzika karta "*" jest dozwolona w nazwie każdego triggera
When a trigger callback is called, following actions are performed, in this order:
1. check conditions; if false, exit
2. replace text using POSIX extended regular expression(s) (if defined in trigger)
3. execute command(s) (if defined in trigger)
4. exit with a return code (except for modifier, line and focus)
5. perform post action
Kiedy callback triggera jest wywoływany, wykonywane są następujące akcje, w kolejności:
1. sprawdzenie warunków; jeśli nie są spełnione, wyjście
2. zastąpienie tekstu za pomocą rozszerzonych wyrażeń regularnych POSIX (jeśli zdefiniowane)
3. wykonanie komend(y) (jeśli zdefiniowane)
4. wyjście z kodem wyjścia (poza modifiers i focus)
5. wykonanie akcji kończącej
Examples (you can also look at default triggers with /trigger listdefault):
add text attributes *bold*, _underline_ and /italic/ (only in user messages):
Przykłady (możesz też spojrzeć na domyślne triggery za pomocą /trigger listdefault):
dodaje atrybuty tekstu *bold*, _underline_ i /italic/ (tylko w wiadomościach użytkowników):
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${color:italic}${re:1}${color:-italic}/"
hide nicklist bar on small terminals:
ukrywa pasek z nickami na małych terminalach:
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
silently save config each hour:
cichy zapis plików konfiguracyjnych co każdą godzinę:
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
otwiera monitor triggerów i pokazuje tylko modifiers i triggery, których nazwa zaczyna się od "resize":
/trigger monitor @modifier,resize*
----
+111 -111
View File
@@ -69,79 +69,79 @@ Przykłady:
----
/buffer list
add [-free] [-switch] <name>
clear [<number>|<name>|-merged|-all [<number>|<name>...]]
move <number>|-|+
swap <number1>|<name1> [<number2>|<name2>]
cycle <number>|<name> [<number>|<name>...]
merge <number>|<name>
unmerge [<number>|-all]
hide [<number>|<name>|-all [<number>|<name>...]]
unhide [<number>|<name>|-all [<number>|<name>...]]
renumber [<number1> [<number2> [<start>]]]
close [<n1>[-<n2>]|<name>...]
notify <level>
localvar [<number>|<name>]
set <property> [<value>]
get <property>
<number>|-|+|<name>
add [-free] [-switch] <nazwa>
clear [<numer>|<nazwa>|-merged|-all [<numer>|<nazwa>...]]
move <numer>|-|+
swap <numer1>|<nazwa1> [<numer2>|<nazwa2>]
cycle <numer>|<nazwa> [<numer>|<nazwa>...]
merge <numer>|<nazwa>
unmerge [<numer>|-all]
hide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]]
unhide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]]
renumber [<numer1> [<numer2> [<start>]]]
close [<n1>[-<n2>]|<nazwa>...]
notify <poziom>
localvar
set <opcja> [<value>]
get <opcja>
<numer>|-|+|<nazwa>
list: list buffers (without argument, this list is displayed)
add: add a new buffer (it can be closed with "/buffer close" or input "q")
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1); "-" = move to first buffer number, "+" = move to last buffer number + 1
swap: swap two buffers (swap with current buffer if only one number/name given)
cycle: jump loop between a list of buffers
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
hide: hide the buffer
unhide: unhide the buffer
renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumber is off)
close: close buffer (number/range or name is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for the buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
-: jump to first buffer number
+: jump to last buffer number
name: jump to buffer by (partial) name
list: wyświetla listę buforów (bez podania argumenty wyświetlana jest ta lista)
add: dodaje nowy bufor (może zostać zamknięty komendą "/buffer close" albo "q")
clear: czyści zawartość bufora (numer bufora, -merged dla połączonych buforów, -all dla wszystkich buforów, lub nic dla obecnego bufora)
move: przesuwa bufor na liście (może być względne, np -1); "-" = przesuwa na pierwszy numer, "+" = przesuwa na ostatni numer bufora +1
swap: zamienia miejscami dwa bufory (zamienia z obecnym buforem, jeśli podano tylko jeden numer/nazwę)
cycle: przełącza w pętli między listą buforów
merge: łączy obecny bufor z innym (obszar rozmowy zostanie pomieszany między oba bufory)
(domyślnie ctrl-x przełącza pomiędzy połączonymi buforami)
unmerge: odłącza bufor od innych mających taki sam numer
hide: ukrywa bufor
unhide: przywraca ukryty bufor
renumber: zmienia numer bufora (działa tylko, jeśli opcja weechat.look.buffer_auto_renumber jest wyłączona)
close: zamyka bufor (numer/przedział są opcjonalne)
notify: ustawia poziom powiadomień dla obecnego bufora: ten poziom określa czy bufor zostanie dodany do hotlisty czy nie:
none: nigdy
highlight: tylko dla higlightów
message: wiadomości od użytkowników + highlighty
all: wszystkie wiadomości
reset: przywraca wartości domyślne (all)
localvar: wyświetla zmienne lokalne obecnego bufora
set: ustawia właściwość obecnego bufora
get: wyświetla właściwości obecnego bufora
numer: przechodzi do bufora o numerze, dostępne prefiksy:
'+': przejście względne, dodaje numer do obecnego
'-': przejście względne, odejmuje numer od obecnego
'*': przejście do numeru, używając opcji "weechat.look.jump_current_to_previous_buffer"
-: przejście do pierwszego bufora
+: przejście do ostatniego bufora
nazwa: przejście do bufora o (częściowej) nazwie
Examples:
clear current buffer:
Przykłady:
czyści zawartość obecnego bufora:
/buffer clear
move buffer to number 5:
przenosi bufor na numer 5:
/buffer move 5
swap buffer 1 with 3:
zamienia bufor 1 z 3:
/buffer swap 1 3
swap buffer #weechat with current buffer:
zamienia bufor #weechat z obecnym buforem:
/buffer swap #weechat
jump on #chan1, #chan2, #chan3 and loop:
przełącza w pętli między #chan1, #chan2, #chan3:
/buffer cycle #chan1 #chan2 #chan3
merge with core buffer:
łączy z głównym buforem:
/buffer merge 1
merge with #weechat buffer:
łączy z buforem #weechat:
/buffer merge #weechat
unmerge buffer:
odłącza bufory:
/buffer unmerge
close current buffer:
zamyka obecny bufor:
/buffer close
close buffers 5 to 7:
zamyka bufory od 5 do 7:
/buffer close 5-7
jump to #weechat:
przechodzi do #weechat:
/buffer #weechat
jump to next buffer:
przechodzi do następnego bufora:
/buffer +1
jump to last buffer number:
przechodzi do ostatniego bufora:
/buffer +
----
@@ -261,65 +261,65 @@ 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")
6. a repeated string (format: "repeat:count,string")
7. a color (format: "color:xxx", see "Plugin API reference", function "color")
8. an info (format: "info:name,arguments", arguments are optional)
9. current date/time (format: "date" or "date:format")
10. an environment variable (format: "env:XXX")
11. a ternary operator (format: "if:condition?value_if_true:value_if_false")
12. an option (format: "file.section.option")
13. a local variable in buffer
14. 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. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color")
8. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
9. obecna data/czas (format: "date" lub "date:format")
10. zmienna środowiskowa (format: "env:XXX")
11. wyrażenie warunkowe (format: "if:condition?value_if_true:value_if_false")
12. opcja (format: plik.sekcja.opcja)
13. zmienna lokalna w buforze
14. 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
@@ -333,7 +333,7 @@ Examples (simple strings):
/eval -n ${rev:Hello} ==> olleH
/eval -n ${repeat:5,-} ==> -----
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
+5 -7
View File
@@ -23,15 +23,13 @@
*-p*, *--no-plugin*::
Wyłącza automatyczne ładowanie wtyczek.
// TRANSLATION MISSING
*-P*, *--plugins* _<plugins>_::
Load only these plugins at startup (see /help weechat.plugin.autoload).
If this option is given, the option weechat.plugin.autoload is not used.
*-P*, *--plugins* _<wtyczki>_::
Załaduje przy starcie tylko podane wtyczki (zobacz /help weechat.plugin.autoload).
Jeśli ta opcja zotanie użyta, opcja weechat.plugin.autoload zostanie zignorowana.
// TRANSLATION MISSING
*-r*, *--run-command* _<komenda>_::
Run command(s) after startup; many commands can be separated by semicolons,
this option can be given multiple times.
Uruchamia komende(-y) po uruchomieniu; kilka komend należy oddzielić średnikiem,
ta opcja może zotać podana kilka razy.
*-s*, *--no-script*::
Wyłącza automatyczne ładowanie skryptów.
+2 -3
View File
@@ -8,13 +8,12 @@
== NAZWA
weechat-headless - rozszerzalny klient rozmów (headless version)
weechat-headless - rozszerzalny klient rozmów (wersja headless)
== SKŁADNIA
// TRANSLATION MISSING
[verse]
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <wtyczki>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
+1 -2
View File
@@ -12,9 +12,8 @@ weechat - rozszerzalny klient rozmów
== SKŁADNIA
// TRANSLATION MISSING
[verse]
*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-p|--no-plugin] [-P|--plugins <wtyczki>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
+3 -6
View File
@@ -45,8 +45,7 @@ Więcej informacji na stronie: https://weechat.org/about/features
[[gui]]
=== Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć?
// TRANSLATION MISSING
Dostępne są zdalne interfejsy, see the remote interfaces page:
Dostępne są zdalne interfejsy, możesz o nich poczytać na tej stronie:
https://weechat.org/about/interfaces
[[compile_git]]
@@ -887,12 +886,10 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
// TRANSLATION MISSING
[[aspell_dictionaries]]
=== I installed aspell dictionaries on my system, how can I use them without restarting WeeChat?
=== Zainstalowałem słowniki aspell w systemie, jak mogę ich użyć bez restartowania WeeChat?
// TRANSLATION MISSING
You have to reload the aspell plugin:
Musisz przeładować wtyczkę aspell:
----
/plugin reload aspell
+22 -30
View File
@@ -430,9 +430,8 @@ ulimit -c 200000
[[gdb_backtrace]]
==== Pozyskiwanie logów za pomocą gdb
// TRANSLATION MISSING
When WeeChat crashes, your system will create a file _core_ or _core.12345_
(_12345_ is process id) if the <<core_files,option is enabled>>.
Kiedy WeeChat ulegnie awarii, Twój system stworzy plik _core_ lub _core.12345_
(_12345_ to id procesu) jeśli <<core_files,zostało to włączone>>.
Plik ten zostanie utworzony w katalogu, z którego uruchomiono WeeChat (*nie*
jest to katalog, gdzie zainstalowano WeeChat!).
@@ -3655,11 +3654,10 @@ Argumenty zależą od rodzaju uchwytu. Są oddzielane średnikami.
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier] (Angielski)
// TRANSLATION MISSING
| line |
1. buffer type +
2. buffer name +
3. tags |
1. typ bufora +
2. nazwa bufora +
3. tagi |
`+formatted+` +
`+free+` +
`+*;irc.freenode.*+` +
@@ -3743,17 +3741,15 @@ Wyrażenia regularne są używane do zmiany zmiennych w tablicy hashy callbacka.
Format: "/wyrażenie/zamień" lub "/wyrażenie/zamień/zmienna" (gdzie _zmienna_ to
zmienna tablicy hashy).
// TRANSLATION MISSING
If _var_ does not exist in the hashtable, it is created automatically with an
empty value. This allows to create custom temporary variables.
Jeśli _zmienna_ nie istnieje w tablicy haszy zostanie automarycznie utworzona bez
wartości. Pozwala to tworzyć dowolne zmienne tymczasowe.
Jeśli _zmienna_ nie zostanie podana, użyta zostanie domyślna zmienna, zależy ona
od typu uchwytu:
// TRANSLATION MISSING
[width="100%",cols="2,3,7",options="header"]
|===
| Uchwyt | Domyślna zmienna | Update allowed ^(1)^
| Uchwyt | Domyślna zmienna | Dozwolona aktualizacja ^(1)^
| signal | tg_signal_data |
| hsignal | |
| modifier | tg_string | tg_string
@@ -3766,10 +3762,9 @@ od typu uchwytu:
| focus | |
|===
// TRANSLATION MISSING
[NOTE]
^(1)^ All variables can be updated in the trigger, but only these variables
have an effect on the value returned by the trigger and used by WeeChat.
^(1)^ Wszystkie zmienne mogą zostać zaktualizowane, jednak tylko te zmienne
mają wpływ na zmienne zwrócone i użyte przez WeeChat.
Wiele wyrażeń może być oddzielonych spacją, na przykład:
"/regex1/zamień1/zmienna1 /regex2/zamień2/zmienna2".
@@ -3928,29 +3923,27 @@ dodatkowe dane do tablicy hashy (zobacz <<trigger_data_signal,hook signal>>).
Callback "line" ustawia następujące zmienne w tablicy hashy:
// TRANSLATION MISSING
[width="100%",cols="3m,2,14",options="header"]
|===
| Zmienna | Typ | Opis
| buffer | wskaźnik | Buffer.
| buffer_name | ciąg | Buffer name.
| buffer_type | ciąg | Buffer type ("formatted" or "free").
| y | ciąg | Line number for a buffer with free content (≥ 0), -1 for a buffer with formatted content.
| date | ciąg | Line date (timestamp).
| date_printed | ciąg | Date when line was displayed (timestamp).
| str_time | ciąg | Date for display. It may contain color codes.
| buffer | wskaźnik | Bufor.
| buffer_name | ciąg | Nazwa bufora.
| buffer_type | ciąg | Typ bufora ("formatted" lub "free").
| y | ciąg | Numer linii bufora z wolną zawartością (≥ 0), -1 dla bufora ze sformatowaną zawartością.
| date | ciąg | Linia z datą (timestamp).
| date_printed | ciąg | Data, kiedy linia została wyświetlona (timestamp).
| 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" if displayed, "0" if line filtered.
| notify_level | ciąg | "0" = low level, "1" = message, "2" = private message, "3" = highlight
| highlight | ciąg | "1" if highlight, otherwise "0".
| displayed | ciąg | "1" jeśli wyświetlono, "0" jeśli nie wyświetlono.
| notify_level | ciąg | "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.
| message | ciąg | Wiadomość.
| tg_message_nocolor | ciag | Wiadomość bez kodów kolorów.
|===
// TRANSLATION MISSING
Variables set using tags in message:
Zmienne ustawiane za pomocą tagów w wiadomościach:
[width="100%",cols="3m,2,14",options="header"]
|===
@@ -3982,8 +3975,7 @@ Callback "print" ustawia następujące zmienne w tablicy hashy:
| tg_message_nocolor | ciąg | Wiadomość bez kodów kolorów.
|===
// TRANSLATION MISSING
Variables set using tags in message:
Zmienne ustawiane za pomocą tagów w wiadomościach:
[width="100%",cols="3m,2,14",options="header"]
|===
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8630,8 +8630,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
msgid ""
+5 -5
View File
@@ -24,8 +24,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"PO-Revision-Date: 2018-10-10 19:26+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-10-14 20:47+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
@@ -10345,8 +10345,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"ersetzt mirc Farben in Nachrichten mittels einer Hashtabelle: Schlüssel sind "
"\"fg,bg\" als Ganzzahl zwischen -1 (nicht näher bezeichnet) und 15. Als Wert "
@@ -10358,7 +10358,7 @@ msgstr ""
"(blue), 3=grün (green), 4=hellrot (lightred), 5=rot (red), 6=violett "
"(magenta), 7=braun (brown), 8=gelb (yellow), 9= hell-grün (lightgreen), "
"10=türkis (cyan), 11=hell-türkis (lightcyan), 12=hellblau (lightblue), "
"13=hell-violett (lightmagenta), 14=grau (gray), 15=weiß (white)"
"13=hell-violett (lightmagenta), 14=dunkel-grau (darkgray), 15=grau (gray)"
msgid ""
"color for nick prefixes using mode char (o=op, h=halfop, v=voice, ..), "
+3 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8930,8 +8930,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"remapear colores mirc en mensajes usando una tabla hash: claves son \"fg,bg"
"\" con números entre -1 (no especificado) y 15, los valores son los nombres "
+5 -5
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"PO-Revision-Date: 2018-10-09 19:30+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-10-14 20:37+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -10110,8 +10110,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"réassigner les couleurs mirc dans les messages en utilisant une table de "
"hachage : les clés sont \"fg,bg\" sous forme d'entiers entre -1 (non "
@@ -10121,7 +10121,7 @@ msgstr ""
"\"white,blue\" ; les couleurs WeeChat par défaut pour les codes IRC sont : "
"0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, "
"8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, "
"13=lightmagenta, 14=gray, 15=white"
"13=lightmagenta, 14=darkgray, 15=gray"
msgid ""
"color for nick prefixes using mode char (o=op, h=halfop, v=voice, ..), "
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8021,8 +8021,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
msgid ""
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9125,8 +9125,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"riassegna i colori mirc nei messaggi usando una tabella hash: le chiavi sono "
"\"fg,bg\" come interi tra -1 (non specificato) e 15, i valori sono i numeri "
+18 -17
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"PO-Revision-Date: 2018-09-30 09:00+0900\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-10-14 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -1189,7 +1189,6 @@ msgstr ""
msgid "manage buffers"
msgstr "バッファの管理"
#, fuzzy
msgid ""
"list || add [-free] [-switch] <name> || clear [<number>|<name>|-merged|-all "
"[<number>|<name>...]] || move <number>|-|+ || swap <number1>|<name1> "
@@ -1206,10 +1205,9 @@ msgstr ""
"<number>|<name> || unmerge [<number>|-all] || hide [<number>|<name>|-all "
"[<number>|<name>...]] || unhide [<number>|<name>|-all [<number>|<name>...]] "
"|| renumber [<number1> [<number2> [<start>]]] || close [<n1>[-<n2>]|"
"<name>...] || notify <level> || localvar || set <property> [<value>] || get "
"<property> || <number>|-|+|<name>"
"<name>...] || notify <level> || localvar [<number>|<name>] || set <property> "
"[<value>] || get <property> || <number>|-|+|<name>"
#, fuzzy
msgid ""
" list: list buffers (without argument, this list is displayed)\n"
" add: add a new buffer (it can be closed with \"/buffer close\" or input "
@@ -1550,7 +1548,6 @@ msgstr "式を評価"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
#, fuzzy
msgid ""
" -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be "
@@ -1697,15 +1694,16 @@ msgstr ""
" または最大文字表示幅を指定した文字列 (書式: \"cutscr:max,suffix,string"
"\" または \"cutscr:+max,suffix,string\")\n"
" 5. 文字順を反転させた文字列 (書式: \"rev:xxx\")\n"
" 6. (書式: \"color:xxx\"、\"プラグイン API リファレンス\" の \"color\" 関"
" 6. 繰り返し文字列 (書式: \"repeat:count,string\")\n"
" 7. 色 (書式: \"color:xxx\"、\"プラグイン API リファレンス\" の \"color\" 関"
"数を参照してください)\n"
" 7. 情報 (書式: \"info:name,arguments\"、arguments は任意)\n"
" 8. 現在の日付/時刻 (書式: \"date\" または \"date:format\")\n"
" 9. 環境変数 (書式: \"env:XXX\")\n"
" 10. 三項演算子 (書式: \"if:condition?value_if_true:value_if_false\")\n"
" 11. オプション (書式: \"file.section.option\")\n"
" 12. バッファのローカル変数\n"
" 13. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "
" 8. 情報 (書式: \"info:name,arguments\"、arguments は任意)\n"
" 9. 現在の日付/時刻 (書式: \"date\" または \"date:format\")\n"
" 10. 環境変数 (書式: \"env:XXX\")\n"
" 11. 三項演算子 (書式: \"if:condition?value_if_true:value_if_false\")\n"
" 12. オプション (書式: \"file.section.option\")\n"
" 13. バッファのローカル変数\n"
" 14. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "
"\"window\" と \"buffer\" は現在のウィンドウ/バッファを指します。\n"
"hdata の書式は以下の 1 つです:\n"
" hdata.var1.var2...: hdata (ポインタは既知) で開始し、1 個ずつ変数を続ける "
@@ -1736,6 +1734,8 @@ msgstr ""
" /eval -n ${cut:+3,+,test} ==> te+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
" /eval -n ${rev:Hello} ==> olleH\\n\"\n"
" /eval -n ${repeat:5,-} ==> -----\\n\"\n"
"\n"
"例 (条件):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -9696,6 +9696,7 @@ msgid "color for text in part/quit messages"
msgstr "退出/終了 メッセージの色"
#. TRANSLATORS: please do not translate the list of WeeChat color names at the end of string
#, fuzzy
msgid ""
"remap mirc colors in messages using a hashtable: keys are \"fg,bg\" as "
"integers between -1 (not specified) and 15, values are WeeChat color names "
@@ -9703,8 +9704,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"メッセージに含まれる mirc の定義する色に対するマッピングをハッシュテーブルで"
"変更: キーは \"fg,bg\" で -1 (指定無し) から 15 までの整数、値は WeeChat 色名"
+39 -36
View File
@@ -22,16 +22,16 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"PO-Revision-Date: 2018-09-09 10:05+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-10-19 20:16+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <soltys1@gmail.com>\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"
"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 2.0\n"
msgid "any string"
@@ -157,7 +157,6 @@ msgstr ""
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Użycie: %s [argumenty...] [wtyczka:opcje...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n"
@@ -188,8 +187,11 @@ msgstr ""
" -h, --help wyświetla tą wiadomość\n"
" -l, --license wyświetla licencje WeeChat\n"
" -p, --no-plugin nie ładuj wtyczek przy starcie\n"
" -r, --run-command <cmd> wykonaj komendę(y) po uruchomieniu\n"
" (wiele komend może być oddzielone średnikami)\n"
" -P, --plugins <wtyczki> załaduj tylko te wtyczki przy starcie\n"
" (zobacz /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> wykonaj komendę(y) po uruchomieniu;\n"
" wiele komend może być oddzielone średnikami\n"
" ta opcja może zostać podana wiele razy\n"
" -s, --no-script nie ładuj skryptów przy starcie\n"
" --upgrade uaktualnia WeeChat używając plików sesji (zobacz /"
"help upgrade w WeeChat)\n"
@@ -1212,7 +1214,6 @@ msgstr ""
msgid "manage buffers"
msgstr "zarządzaj buforami"
#, fuzzy
msgid ""
"list || add [-free] [-switch] <name> || clear [<number>|<name>|-merged|-all "
"[<number>|<name>...]] || move <number>|-|+ || swap <number1>|<name1> "
@@ -1228,11 +1229,10 @@ msgstr ""
"[<numer2>|<nazwa2>] || cycle <numer>|<nazwa> [<numer>|<nazwa>...] || merge "
"<numer>|<nazwa> || unmerge [<numer>|-all] || hide [<numer>|<nazwa>|-all "
"[<numer>|<nazwa>...]] || unhide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]] "
"|| renumber [<numer1> [<numer2> [<start>]]] || close [<n1>[-<n2>]|<nazwa>] "
"|| renumber [<numer1> [<numer2> [<start>]]] || close [<n1>[-<n2>]|<nazwa>...] "
"|| notify <poziom> || localvar || set <opcja> [<value>] || get <opcja> || "
"<numer>|-|+|<nazwa>"
#, fuzzy
msgid ""
" list: list buffers (without argument, this list is displayed)\n"
" add: add a new buffer (it can be closed with \"/buffer close\" or input "
@@ -1580,7 +1580,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 "
@@ -1693,8 +1692,8 @@ msgstr ""
"zastępowane (zobacz niżej); wiele komend można oddzielić średnikami\n"
" operator: operator logiczny lub porównania:\n"
" - operatory logiczne:\n"
" && boolowskie \"i\"\n"
" || boolowskie \"lub\"\n"
" && logiczne \"i\"\n"
" || logiczne \"lub\"\n"
" - operatory porównania:\n"
" == równy\n"
" != różny\n"
@@ -1729,16 +1728,17 @@ msgstr ""
" lub maksymalna ilość znaków wyświetlanych na ekranie (format: \"cutscr:"
"max,suffix,string\" lub \"cutscr:+max,suffix,string\")\n"
" 5. odwrócony ciąg (format: \"rev:xxx\")\n"
" 6. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color"
" 6. powtórzony ciąg (format: \"repeat:ilość,ciąg\")\n "
" 7. kolor (format \"color:xxx\", zobacz „Opis API wtyczek”, funkcja \"color"
"\")\n"
" 7. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n"
" 8. obecna data/czas (format: \"date\" lub \"date:format\")\n"
" 9. zmienna środowiskowa (format: \"env:XXX\")\n"
" 10. wyrażenie warunkowe (format: \"if:condition?value_if_true:"
" 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:"
"value_if_false\")\n"
" 11. opcja (format: plik.sekcja.opcja)\n"
" 12. zmienna lokalna w buforze\n"
" 13. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg "
" 12. opcja (format: plik.sekcja.opcja)\n"
" 13. zmienna lokalna w buforze\n"
" 14. 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), "
@@ -1771,6 +1771,8 @@ msgstr ""
" /eval -n ${cut:+3,+,test} ==> te+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
" /eval -n ${rev:Hello} ==> olleH\n"
" /eval -n ${repeat:5,-} ==> -----\n"
"\n"
"Przykłady (warunki):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -9042,11 +9044,11 @@ msgid ""
"%s%s: invalid priorities string, error at this position in string: \"%s\""
msgstr "%s%s: nieprawidłowy ciąg priorytetów, błąd na pozycji: \"%s\""
#, fuzzy, c-format
#, c-format
msgid "%s%s: warning: invalid autojoin value \"%s\", see /help %s.%s.%s"
msgstr ""
"%s%s: ostrzeżenie, niewłaściwy wskaźnik (\"%s\") dla funkcji \"%s\" (skrypt: "
"%s)"
"%s%s: ostrzeżenie, niewłaściwy wartość dla autojoin \"%s\", sprawdź /help %s."
"%s.%s"
#, c-format
msgid ""
@@ -9871,17 +9873,17 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"zamień kolory mirca w wiadomościach używając tablicy hashy: klucze to \"fg,"
"bg\" przyjmują one wartości pomiędzy -1 (nie określono) a 15, wartości to "
"nazwy lub numery kolorów WeeChat (format: \"1,-1:kolor1;2,7:kolor2\"), "
"przykład: \"1,-1:darkgray;1,2:white,blue\" w celu przemapowania czarnego na "
"\"darkgray\" oraz czarnego na niebieskim tle na \"white,blue\"; domyślne "
"kolory WeeChat dla kodów IRC: 0-=white, 1=black, 2=blue, 3=green, "
"kolory WeeChat dla kodów IRC: 0=white, 1=black, 2=blue, 3=green, "
"4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, "
"11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white"
"11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray"
msgid ""
"color for nick prefixes using mode char (o=op, h=halfop, v=voice, ..), "
@@ -11110,7 +11112,6 @@ msgstr "konfiguracja wtyczki logera"
msgid "list || set <level> || flush || disable"
msgstr "list || set <poziom> || flush || disable"
#, fuzzy
msgid ""
" list: show logging status for opened buffers\n"
" set: set logging level on current buffer\n"
@@ -11152,7 +11153,8 @@ msgstr ""
"poziomu lub maski dla bufora lub buforów zaczynających się od nazwy.\n"
"\n"
"Poziomy logowania używane przez wtyczkę IRC:\n"
" 1: wiadomości użytkowników, powiadomienia, wiadomości prywatne\n"
" 1: wiadomości użytkowników (z kanałów i prywatne), powiadomienia (od"
" serwerów i kanałów)\n"
" 2: zmiany nicków\n"
" 3: wiadomości serwera\n"
" 4: wejścia/opuszczenia/wyjścia\n"
@@ -13109,9 +13111,8 @@ msgstr "Monitor triggerów (filtr: %s) | Wejście q=zamknij, słowa=filtr"
msgid "no variable"
msgstr "brak zmiennej"
#, fuzzy
msgid "creating variable"
msgstr "odczyt - zmienna"
msgstr "tworzenie zmiennej"
#, c-format
msgid "%s running command %s\"%s%s%s\"%s on buffer %s%s%s"
@@ -13282,7 +13283,6 @@ msgstr ""
"[<nazwa>...] || show <nazwa> || del <nazwa>|-all [<nazwa>...] || restore "
"<nazwa> [<nazwa>...] || default -yes || monitor [<filtr>]"
#, fuzzy
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" listfull: list triggers with detailed info for each trigger\n"
@@ -13380,13 +13380,16 @@ msgstr ""
" addoff: dodaje trigger (wyłączony)\n"
" addreplace: dodaje lub zastępuje istniejący trigger\n"
" nazwa: nazwa triggera\n"
" hook: signal, hsignal, modifier, print, command, command_run, timer, "
" hook: signal, hsignal, modifier, line, print, command, command_run,"
" timer, "
"config, focus\n"
" argumenty: argumenty dla uchwytu, w zależności od jego typu (oddzielone "
"średnikami):\n"
" signal: nazwa(-y) signal (wymagane)\n"
" hsignal: nazwa(-y) hsignal (wymagane)\n"
" modifier: nazwa(-y) modifier (wymagane)\n"
" line: typ bufora(\"formatted\", \"free\" lub \"*\"), lista mask"
" buforów, tagów\n"
" print: bufor, tagi, wiadomość, pomiń kolory\n"
" command: komenda (wymagane), opis, argumenty, opis argumentów, "
"dopełnienie\n"
@@ -13399,7 +13402,7 @@ msgstr ""
"zmiennych\n"
" komenda: komenda do wykonania (wiele komend można oddzielić \";\")\n"
"zwracany_kod: kod zwracany w callbacku (ok (domyślne), ok_eat, error)\n"
"post_action: akcja do wykonania po zakończeniu (none (domylślne), disable, "
"post_action: akcja do wykonania po zakończeniu (none (domyślne), disable, "
"delete)\n"
" addinput: ustawia wejście z domyślnymi argumentami do stworzenia "
"triggera\n"
+4 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -9556,6 +9556,7 @@ msgid "color for text in part/quit messages"
msgstr "cor do texto das mensagens de part/quit"
#. TRANSLATORS: please do not translate the list of WeeChat color names at the end of string
#, fuzzy
msgid ""
"remap mirc colors in messages using a hashtable: keys are \"fg,bg\" as "
"integers between -1 (not specified) and 15, values are WeeChat color names "
@@ -9563,8 +9564,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
"remapear cores do mirc em mensagens usando um tabela de dispersão: as chaves "
"são \"cor,fundo\" sob forma de inteiros entre -1 (não especificado) e 15, os "
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8464,8 +8464,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
msgid ""
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8053,8 +8053,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
msgid ""
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7286,8 +7286,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
msgid ""
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-10-09 19:28+0200\n"
"POT-Creation-Date: 2018-10-14 20:36+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7152,8 +7152,8 @@ msgid ""
"darkgray;1,2:white,blue\" to remap black to \"darkgray\" and black on blue "
"to \"white,blue\"; default WeeChat colors for IRC codes: 0=white, 1=black, "
"2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, "
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"
"9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"
msgstr ""
msgid ""
+1 -1
View File
@@ -274,7 +274,7 @@ gui_input_insert_string (struct t_gui_buffer *buffer, const char *string,
/* insert new string */
ptr_start = (char *)utf8_add_offset (buffer->input_buffer, pos);
strncpy (ptr_start, string_utf8, size);
memcpy (ptr_start, string_utf8, size);
buffer->input_buffer_pos += length;
}
+2 -2
View File
@@ -3128,8 +3128,8 @@ irc_config_init ()
"\"darkgray\" and black on blue to \"white,blue\"; default "
"WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, "
"4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, "
"10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, "
"15=white"),
"10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, "
"14=darkgray, 15=gray"),
NULL, 0, 0, "1,-1:darkgray", NULL, 0,
NULL, NULL, NULL,
&irc_config_change_color_mirc_remap, NULL, NULL,
+3 -5
View File
@@ -373,11 +373,9 @@ irc_protocol_cap_sync (struct t_irc_server *server, int sasl)
int sasl_requested, sasl_to_do, sasl_fail;
int i, length, num_caps_requested;
if (sasl)
{
sasl_requested = irc_server_sasl_enabled (server);
sasl_to_do = 0;
}
sasl_requested = (sasl) ? irc_server_sasl_enabled (server) : 0;
sasl_to_do = 0;
ptr_cap_option = IRC_SERVER_OPTION_STRING(
server,
IRC_SERVER_OPTION_CAPABILITIES);
+3 -3
View File
@@ -541,7 +541,7 @@ API_FUNC(mkdir_home)
if (weechat_mkdir_home (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(mkdir)
@@ -559,7 +559,7 @@ API_FUNC(mkdir)
if (weechat_mkdir (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(mkdir_parents)
@@ -577,7 +577,7 @@ API_FUNC(mkdir_parents)
if (weechat_mkdir_parents (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(list_new)
+11 -5
View File
@@ -278,7 +278,7 @@ relay_websocket_decode_frame (const unsigned char *buffer,
index_buffer = 0;
/* loop to decode all frames in message */
while (index_buffer + 2 <= buffer_length)
while (index_buffer + 1 < buffer_length)
{
opcode = buffer[index_buffer] & 15;
@@ -293,10 +293,12 @@ relay_websocket_decode_frame (const unsigned char *buffer,
length_frame_size = 1;
length_frame = buffer[index_buffer + 1] & 127;
index_buffer += 2;
if (index_buffer >= buffer_length)
return 0;
if ((length_frame == 126) || (length_frame == 127))
{
length_frame_size = (length_frame == 126) ? 2 : 8;
if (buffer_length < 1 + length_frame_size)
if (index_buffer + length_frame_size > buffer_length)
return 0;
length_frame = 0;
for (i = 0; i < length_frame_size; i++)
@@ -306,10 +308,9 @@ relay_websocket_decode_frame (const unsigned char *buffer,
index_buffer += length_frame_size;
}
if (buffer_length < 1 + length_frame_size + 4 + length_frame)
return 0;
/* read masks (4 bytes) */
if (index_buffer + 4 > buffer_length)
return 0;
int masks[4];
for (i = 0; i < 4; i++)
{
@@ -323,6 +324,11 @@ relay_websocket_decode_frame (const unsigned char *buffer,
*decoded_length += 1;
/* decode data using masks */
if ((length_frame > buffer_length)
|| (index_buffer + length_frame > buffer_length))
{
return 0;
}
for (i = 0; i < length_frame; i++)
{
decoded[*decoded_length + i] = (int)((unsigned char)buffer[index_buffer + i]) ^ masks[i % 4];
@@ -36,7 +36,7 @@ index d3a1dad8b..4c5953e46 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.1.3
Standards-Version: 4.1.5
Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
@@ -152,7 +152,7 @@ index 8fbf582b3..a30e30053 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.1.3
Standards-Version: 4.1.5
Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
@@ -33,7 +33,7 @@ index d3a1dad8b..718ae26b5 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.1.3
Standards-Version: 4.1.5
Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
@@ -134,7 +134,7 @@ index 8fbf582b3..f08af5ea6 100644
+ libgcrypt11-dev,
+ libgnutls-dev,
zlib1g-dev
Standards-Version: 4.1.3
Standards-Version: 4.1.5
Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
- 256 colors support
+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.2
WEECHAT_DEVEL=2.3
WEECHAT_DEVEL_FULL=2.3-rc1
WEECHAT_STABLE=2.3
WEECHAT_DEVEL=2.3.1
WEECHAT_DEVEL_FULL=2.3.1-dev
if [ $# -lt 1 ]; then
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
+3 -1
View File
@@ -23,7 +23,7 @@
#
%define name weechat
%define version 2.2
%define version 2.3
%define release 1
Name: %{name}
@@ -77,6 +77,8 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/share/icons/hicolor/32x32/apps/weechat.png
%changelog
* Sun Oct 21 2018 Sébastien Helleu <flashcode@flashtux.org> 2.3-1
- Released version 2.3
* Sat Jul 14 2018 Sébastien Helleu <flashcode@flashtux.org> 2.2-1
- Released version 2.2
* Sun Mar 18 2018 Sébastien Helleu <flashcode@flashtux.org> 2.1-1