irc: add server option "split_msg_max_length"
This commit is contained in:
parent
388319fb59
commit
be3634f22f
@ -25,6 +25,7 @@ New features::
|
||||
* core: add option "add" in command /buffer (issue #1113)
|
||||
* core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates
|
||||
* api: add hashtable with variables in plugin structure
|
||||
* irc: add server option "split_msg_max_length"
|
||||
* logger: add option logger.look.backlog_conditions (issue #1132)
|
||||
* scripts: add "eval" option in script commands and info "xxx_eval" (python, perl, ruby, lua and guile) (issue #128)
|
||||
* scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins (issue #1075)
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein), "text": Text (zum Beispiel eine Nachricht von einem User), "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird)
|
||||
|
||||
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||
|
||||
|===
|
||||
|
@ -704,6 +704,12 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_irc.server_default.split_msg_max_length]] *irc.server_default.split_msg_max_length*
|
||||
** Beschreibung: pass:none[split outgoing IRC messages to fit in this number of chars; the default value is 512, this is a safe and recommended value); value 0 disables the split (not recommended, unless you know what you do); allowed values are 0 or any integer between 128 and 4096; this option should be changed only on non-standard IRC servers, for example gateways like bitlbee]
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 4096
|
||||
** Standardwert: `+512+`
|
||||
|
||||
* [[option_irc.server_default.ssl]] *irc.server_default.ssl*
|
||||
** Beschreibung: pass:none[Server über SSL ansprechen]
|
||||
** Typ: boolesch
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "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_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||
|
||||
|===
|
||||
|
@ -704,6 +704,12 @@
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_irc.server_default.split_msg_max_length]] *irc.server_default.split_msg_max_length*
|
||||
** description: pass:none[split outgoing IRC messages to fit in this number of chars; the default value is 512, this is a safe and recommended value); value 0 disables the split (not recommended, unless you know what you do); allowed values are 0 or any integer between 128 and 4096; this option should be changed only on non-standard IRC servers, for example gateways like bitlbee]
|
||||
** type: integer
|
||||
** values: 0 .. 4096
|
||||
** default value: `+512+`
|
||||
|
||||
* [[option_irc.server_default.ssl]] *irc.server_default.ssl*
|
||||
** description: pass:none[use SSL for server communication]
|
||||
** type: boolean
|
||||
|
@ -9223,11 +9223,13 @@ List of signals sent by WeeChat and plugins:
|
||||
| irc | xxx,irc_out1_yyy ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.7)_ |
|
||||
String: message. |
|
||||
IRC message sent to server (before automatic split to fit in 512 bytes).
|
||||
IRC message sent to server before automatic split
|
||||
(to fit in 512 bytes by default).
|
||||
|
||||
| irc | xxx,irc_out_yyy ^(1)^ |
|
||||
String: message. |
|
||||
IRC message sent to server (after automatic split to fit in 512 bytes).
|
||||
IRC message sent to server after automatic split
|
||||
(to fit in 512 bytes by default).
|
||||
|
||||
| irc | xxx,irc_outtags_yyy ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.4)_ |
|
||||
@ -10615,14 +10617,14 @@ List of modifiers used by WeeChat and plugins:
|
||||
| irc_out1_xxx ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.7)_ |
|
||||
Server name |
|
||||
Content of message about to be sent to IRC server (before automatic split to
|
||||
fit in 512 bytes). |
|
||||
Content of message about to be sent to IRC server before automatic split
|
||||
(to fit in 512 bytes by default). |
|
||||
New content of message.
|
||||
|
||||
| irc_out_xxx ^(1)^ |
|
||||
Server name |
|
||||
Content of message about to be sent to IRC server (after automatic split to
|
||||
fit in 512 bytes). |
|
||||
Content of message about to be sent to IRC server after automatic split
|
||||
(to fit in 512 bytes by default). |
|
||||
New content of message.
|
||||
|
||||
| color_decode_ansi +
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
| irc | irc_message_parse | analyse un message IRC | "message" : message IRC, "server" : nom du serveur (optionnel) | "tags" : étiquettes, "message_without_tags" : message sans les étiquettes, "nick" : pseudo, "host" : nom d'hôte, "command" : commande, "channel" : canal, "arguments" : paramètres (inclut le canal), "text" : texte (par exemple message utilisateur), "pos_command" : index de "command" dans le message ("-1" si "command" n'a pas été trouvé), "pos_arguments" : index de "arguments" dans le message ("-1" si "arguments" n'a pas été trouvé), "pos_channel" : index de "channel" dans le message ("-1" si "channel" n'a pas été trouvé), "pos_text" : index de "text" dans le message ("-1" si "text" n'a pas été trouvé)
|
||||
|
||||
| irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets) | "message" : message IRC, "server" : nom du serveur (optionnel) | "msg1" ... "msgN" : messages à envoyer (sans le "\r\n" final), "args1" ... "argsN" : paramètres des messages, "count" : nombre de messages
|
||||
| irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets par défaut) | "message" : message IRC, "server" : nom du serveur (optionnel) | "msg1" ... "msgN" : messages à envoyer (sans le "\r\n" final), "args1" ... "argsN" : paramètres des messages, "count" : nombre de messages
|
||||
|
||||
|===
|
||||
|
@ -704,6 +704,12 @@
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+""+`
|
||||
|
||||
* [[option_irc.server_default.split_msg_max_length]] *irc.server_default.split_msg_max_length*
|
||||
** description: pass:none[découper les messages IRC sortants pour tenir dans ce nombre de caractères ; la valeur par défaut est 512, c'est une valeur sûre et recommandée ; la valeur 0 désactive le découpage (non recommandé, sauf si vous êtes sûr de ce que vous faites) ; les valeurs autorisées sont 0 ou tout entier compris entre 128 et 4096 ; cette option devrait être changée seulement sur les serveurs IRC non standards, par exemple sur les passerelles comme bitlbee]
|
||||
** type: entier
|
||||
** valeurs: 0 .. 4096
|
||||
** valeur par défaut: `+512+`
|
||||
|
||||
* [[option_irc.server_default.ssl]] *irc.server_default.ssl*
|
||||
** description: pass:none[utiliser SSL pour la communication avec le serveur]
|
||||
** type: booléen
|
||||
|
@ -9404,13 +9404,13 @@ Liste des signaux envoyés par WeeChat et les extensions :
|
||||
| irc | xxx,irc_out1_yyy ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.7)_ |
|
||||
Chaîne : message. |
|
||||
Message IRC envoyé au serveur (avant découpage automatique pour tenir dans les
|
||||
512 octets).
|
||||
Message IRC envoyé au serveur avant découpage automatique
|
||||
(pour tenir dans les 512 octets par défaut).
|
||||
|
||||
| irc | xxx,irc_out_yyy ^(1)^ |
|
||||
Chaîne : message. |
|
||||
Message IRC envoyé au serveur (après découpage automatique pour tenir dans les
|
||||
512 octets).
|
||||
Message IRC envoyé au serveur après découpage automatique
|
||||
(pour tenir dans les 512 octets par défaut).
|
||||
|
||||
| irc | xxx,irc_outtags_yyy ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.4)_ |
|
||||
@ -10831,14 +10831,14 @@ Liste des modificateurs utilisés par WeeChat et les extensions :
|
||||
| irc_out1_xxx ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.7)_ |
|
||||
Nom de serveur |
|
||||
Contenu du message qui va être envoyé au serveur IRC (avant découpage
|
||||
automatique pour tenir dans les 512 octets). |
|
||||
Contenu du message qui va être envoyé au serveur IRC avant découpage automatique
|
||||
(pour tenir dans les 512 octets par défaut). |
|
||||
Nouveau contenu du message.
|
||||
|
||||
| irc_out_xxx ^(1)^ |
|
||||
Nom de serveur |
|
||||
Contenu du message qui va être envoyé au serveur IRC (après découpage
|
||||
automatique pour tenir dans les 512 octets). |
|
||||
Contenu du message qui va être envoyé au serveur IRC après découpage automatique
|
||||
(pour tenir dans les 512 octets par défaut). |
|
||||
Nouveau contenu du message.
|
||||
|
||||
| color_decode_ansi +
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
| irc | irc_message_parse | controlla un messaggio IRC | "message": messaggio IRC, "server": nome server (opzionale) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "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_split | divide un messaggio IRC (per adattarlo in 512 byte) | "message": messaggio IRC, "server": nome server (opzionale) | "msg1" ... "msgN": messaggio da inviare (senza "\r\n" finale), "args1" ... "argsN": argomenti dei messaggi, "count": numero di messaggi
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": messaggio IRC, "server": nome server (opzionale) | "msg1" ... "msgN": messaggio da inviare (senza "\r\n" finale), "args1" ... "argsN": argomenti dei messaggi, "count": numero di messaggi
|
||||
|
||||
|===
|
||||
|
@ -704,6 +704,12 @@
|
||||
** valori: qualsiasi stringa
|
||||
** valore predefinito: `+""+`
|
||||
|
||||
* [[option_irc.server_default.split_msg_max_length]] *irc.server_default.split_msg_max_length*
|
||||
** descrizione: pass:none[split outgoing IRC messages to fit in this number of chars; the default value is 512, this is a safe and recommended value); value 0 disables the split (not recommended, unless you know what you do); allowed values are 0 or any integer between 128 and 4096; this option should be changed only on non-standard IRC servers, for example gateways like bitlbee]
|
||||
** tipo: intero
|
||||
** valori: 0 .. 4096
|
||||
** valore predefinito: `+512+`
|
||||
|
||||
* [[option_irc.server_default.ssl]] *irc.server_default.ssl*
|
||||
** descrizione: pass:none[usa SSL per le comunicazioni col server]
|
||||
** tipo: bool
|
||||
|
@ -9524,14 +9524,18 @@ List of signals sent by WeeChat and plugins:
|
||||
utilizzato dal plugin irc, il segnale viene inviato
|
||||
anche se il messaggio è stato ignorato).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc | xxx,irc_out1_yyy ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.7)_ |
|
||||
String: messaggio. |
|
||||
Messaggio IRC inviato al server (prima della divisione automatica da adattare in 512 byte).
|
||||
IRC message sent to server before automatic split
|
||||
(to fit in 512 bytes by default).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc | xxx,irc_out_yyy ^(1)^ |
|
||||
String: messaggio. |
|
||||
Messaggio IRC inviato al server (dopo la divisione automatica da adattare in 512 byte).
|
||||
IRC message sent to server after automatic split
|
||||
(to fit in 512 bytes by default).
|
||||
|
||||
| irc | xxx,irc_outtags_yyy ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.4)_ |
|
||||
@ -11032,15 +11036,19 @@ List of modifiers used by WeeChat and plugins:
|
||||
Contenuto del messaggio ricevuto dal server IRC (dopo la codifica del set caratteri). |
|
||||
Nuovo contenuto del messaggio.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc_out1_xxx ^(1)^ +
|
||||
_(WeeChat ≥ 0.3.7)_ |
|
||||
Nome server |
|
||||
Contenuto del messaggio che sta per essere inviato al server IRC (prima della divisione automatica da adattare in 512 byte). |
|
||||
Content of message about to be sent to IRC server before automatic split
|
||||
(to fit in 512 bytes by default). |
|
||||
Nuovo contenuto del messaggio.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc_out_xxx ^(1)^ |
|
||||
Nome server |
|
||||
Contenuto del messaggio che sta per essere inviato al server IRC (dopo la divisione automatica da adattare in 512 byte). |
|
||||
Content of message about to be sent to IRC server after automatic split
|
||||
(to fit in 512 bytes by default). |
|
||||
Nuovo contenuto del messaggio.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
| irc | irc_message_parse | IRC メッセージを解析 | "message": IRC メッセージ、"server": サーバ名 (任意) | "tags": タグ、"message_without_tags": タグを含まないメッセージ、"nick": ニックネーム、"host": ホスト名、"command": コマンド、"channel": チャンネル、"arguments": 引数 (チャンネルを含む)、"text": テキスト (例えばユーザメッセージ)、"pos_command": "command" メッセージのインデックス ("command" が見つからない場合 "-1")、"pos_arguments": "arguments" メッセージのインデックス ("arguments" が見つからない場合 "-1")、"pos_channel": "channel" メッセージのインデックス ("channel" が見つからない場合 "-1")、"pos_text": "text" メッセージのインデックス ("text" が見つからない場合 "-1")
|
||||
|
||||
| irc | irc_message_split | IRC メッセージを分割 (512 バイトに収める) | "message": IRC メッセージ、"server": サーバ名 (任意) | "msg1" ... "msgN": 送信メッセージ (最後の "\r\n" は無し), "args1" ... "argsN": メッセージの引数、"count": メッセージの数
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC メッセージ、"server": サーバ名 (任意) | "msg1" ... "msgN": 送信メッセージ (最後の "\r\n" は無し), "args1" ... "argsN": メッセージの引数、"count": メッセージの数
|
||||
|
||||
|===
|
||||
|
@ -704,6 +704,12 @@
|
||||
** 値: 未制約文字列
|
||||
** デフォルト値: `+""+`
|
||||
|
||||
* [[option_irc.server_default.split_msg_max_length]] *irc.server_default.split_msg_max_length*
|
||||
** 説明: pass:none[split outgoing IRC messages to fit in this number of chars; the default value is 512, this is a safe and recommended value); value 0 disables the split (not recommended, unless you know what you do); allowed values are 0 or any integer between 128 and 4096; this option should be changed only on non-standard IRC servers, for example gateways like bitlbee]
|
||||
** タイプ: 整数
|
||||
** 値: 0 .. 4096
|
||||
** デフォルト値: `+512+`
|
||||
|
||||
* [[option_irc.server_default.ssl]] *irc.server_default.ssl*
|
||||
** 説明: pass:none[サーバとの通信に SSL を利用]
|
||||
** タイプ: ブール
|
||||
|
@ -9225,14 +9225,18 @@ WeeChat とプラグインが送信するシグナルのリスト:
|
||||
サーバから IRC メッセージを受信 (メッセージを無視する場合でも irc
|
||||
プラグインがメッセージを処理した後に、シグナルが送信される)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc | xxx,irc_out1_yyy ^(1)^ +
|
||||
_(WeeChat バージョン 0.3.7 以上で利用可)_ |
|
||||
String: メッセージ |
|
||||
サーバに IRC メッセージを送信 (メッセージを 512 バイトに合わせて自動分割する前)
|
||||
IRC message sent to server before automatic split
|
||||
(to fit in 512 bytes by default).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc | xxx,irc_out_yyy ^(1)^ |
|
||||
String: メッセージ |
|
||||
サーバに IRC メッセージを送信 (メッセージを 512 バイトに合わせて自動分割した後)
|
||||
IRC message sent to server after automatic split
|
||||
(to fit in 512 bytes by default).
|
||||
|
||||
| irc | xxx,irc_outtags_yyy ^(1)^ +
|
||||
_(WeeChat バージョン 0.3.4 以上で利用可)_ |
|
||||
@ -10617,17 +10621,19 @@ WeeChat とプラグインが使う修飾子のリスト:
|
||||
IRC サーバから受信したメッセージの内容 (文字セットをデコードした後) |
|
||||
メッセージの新しい内容
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc_out1_xxx ^(1)^ +
|
||||
_(WeeChat バージョン 0.3.7 以上で利用可)_ |
|
||||
サーバ名 |
|
||||
IRC サーバに送信するメッセージの内容
|
||||
(512 バイトを超えないように自動分割する前) |
|
||||
Content of message about to be sent to IRC server before automatic split
|
||||
(to fit in 512 bytes by default). |
|
||||
メッセージの新しい内容
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc_out_xxx ^(1)^ |
|
||||
サーバ名 |
|
||||
IRC サーバに送信するメッセージの内容
|
||||
(512 バイトを超えないように自動分割した後) |
|
||||
Content of message about to be sent to IRC server after automatic split
|
||||
(to fit in 512 bytes by default). |
|
||||
メッセージの新しい内容
|
||||
|
||||
| color_decode_ansi +
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
| 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, "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)
|
||||
|
||||
| irc | irc_message_split | dziel wiadomość IRC (aby zmieściła się 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
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "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
|
||||
|
||||
|===
|
||||
|
@ -704,6 +704,12 @@
|
||||
** wartości: dowolny ciąg
|
||||
** domyślna wartość: `+""+`
|
||||
|
||||
* [[option_irc.server_default.split_msg_max_length]] *irc.server_default.split_msg_max_length*
|
||||
** opis: pass:none[split outgoing IRC messages to fit in this number of chars; the default value is 512, this is a safe and recommended value); value 0 disables the split (not recommended, unless you know what you do); allowed values are 0 or any integer between 128 and 4096; this option should be changed only on non-standard IRC servers, for example gateways like bitlbee]
|
||||
** typ: liczba
|
||||
** wartości: 0 .. 4096
|
||||
** domyślna wartość: `+512+`
|
||||
|
||||
* [[option_irc.server_default.ssl]] *irc.server_default.ssl*
|
||||
** opis: pass:none[użyj protokołu SSL do komunikacji z serwerem]
|
||||
** typ: bool
|
||||
|
19
po/cs.po
19
po/cs.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -7847,6 +7847,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -8139,6 +8145,14 @@ msgid ""
|
||||
msgstr ""
|
||||
"seznam notifikací pro server (místo změny této volby použijte příkaz /notify)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: chyba při přidávání notifikace"
|
||||
@ -8735,7 +8749,8 @@ msgid ""
|
||||
"index of \"text\" message (\"-1\" if \"text\" was not found)"
|
||||
msgstr ""
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "rozděl IRC zprávu (aby se vlezla do 512 bytů)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
22
po/de.po
22
po/de.po
@ -23,7 +23,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-11 20:46+0100\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
@ -2504,7 +2504,8 @@ msgstr ""
|
||||
"\"weechat.look.prefix_*\" definiert ist.\n"
|
||||
"\n"
|
||||
"Folgende Escapesequenzen werden unterstützt:\n"
|
||||
" \\\" \\\\ \\a \\b \\e \\f \\n \\r \\t \\v \\0ooo \\xhh \\uhhhh \\Uhhhhhhhh\n"
|
||||
" \\\" \\\\ \\a \\b \\e \\f \\n \\r \\t \\v \\0ooo \\xhh \\uhhhh "
|
||||
"\\Uhhhhhhhh\n"
|
||||
"\n"
|
||||
"Beispiele:\n"
|
||||
" zeigt eine Erinnerung, mit Highlight, im Core-Buffer dar:\n"
|
||||
@ -9364,6 +9365,12 @@ msgstr ""
|
||||
"%s%s: ungültiger Fingerprint, es sind nur hexadezimale Zeichen erlaubt (0-9, "
|
||||
"a-f)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -9729,6 +9736,14 @@ msgstr ""
|
||||
"Liste mit Benachrichtigung für Server (diese Einstellung sollte nicht direkt "
|
||||
"verändert werden. Dazu sollte der Befehl /notify genutzt werden)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: Fehler bei der Erstellung des Servers \"%s\""
|
||||
@ -10478,7 +10493,8 @@ msgstr ""
|
||||
"nicht gefunden wird),\"pos_text\": Index für \"text\" Nachricht (\"-1\" "
|
||||
"falls \"text\" nicht gefunden wird)"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr ""
|
||||
"dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes "
|
||||
"große Nachrichten)"
|
||||
|
19
po/es.po
19
po/es.po
@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -8107,6 +8107,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -8410,6 +8416,14 @@ msgstr ""
|
||||
"Lista de notificaciones para el servidor (no se debería cambiar esta opción, "
|
||||
"usar el comando /notify para ello)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: error al crear el servidor \"%s\""
|
||||
@ -9052,7 +9066,8 @@ msgstr ""
|
||||
"\": apodo, \"host\": host, \"command\": comando, \"channel\": canal, "
|
||||
"\"arguments\": argumentos (incluye el canal)"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "separar un mensaje IRC (para coincidir en 512 bytes)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
30
po/fr.po
30
po/fr.po
@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"PO-Revision-Date: 2018-01-11 16:03+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-13 22:15+0100\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@ -9178,6 +9178,14 @@ msgstr ""
|
||||
"%s%s : empreinte invalide, elle doit contenir uniquement des chiffres "
|
||||
"hexadécimaux (0-9, a-f)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
"%s%s : longueur invalide pour le découpage, elle doit être soit 0 ou bien "
|
||||
"tout entier compris entre 128 et 4096"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -9523,6 +9531,20 @@ msgstr ""
|
||||
"liste de notifications pour le serveur (vous ne devriez pas changer cette "
|
||||
"option mais utiliser la commande /notify)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
"découper les messages IRC sortants pour tenir dans ce nombre de caractères ; "
|
||||
"la valeur par défaut est 512, c'est une valeur sûre et recommandée ; la "
|
||||
"valeur 0 désactive le découpage (non recommandé, sauf si vous êtes sûr de ce "
|
||||
"que vous faites) ; les valeurs autorisées sont 0 ou tout entier compris "
|
||||
"entre 128 et 4096 ; cette option devrait être changée seulement sur les "
|
||||
"serveurs IRC non standards, par exemple sur les passerelles comme bitlbee"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s : erreur d'ajout du serveur \"%s\""
|
||||
@ -10233,8 +10255,8 @@ msgstr ""
|
||||
"dans le message (\"-1\" si \"channel\" n'a pas été trouvé), \"pos_text\" : "
|
||||
"index de \"text\" dans le message (\"-1\" si \"text\" n'a pas été trouvé)"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
msgstr "découper un message IRC (pour tenir dans les 512 octets)"
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "découper un message IRC (pour tenir dans les 512 octets par défaut)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
msgid ""
|
||||
|
18
po/hu.po
18
po/hu.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -7309,6 +7309,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -7572,6 +7578,14 @@ msgid ""
|
||||
"command instead)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s nincs elég memória az információs pult üzenethez\n"
|
||||
@ -8130,7 +8144,7 @@ msgid ""
|
||||
"index of \"text\" message (\"-1\" if \"text\" was not found)"
|
||||
msgstr ""
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
19
po/it.po
19
po/it.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -8283,6 +8283,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -8592,6 +8598,14 @@ msgstr ""
|
||||
"elenco notifiche per il server (si consiglia di non cambiare questa opzione "
|
||||
"ma di usare il comando /notify)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: errore durante la creazione del server \"%s\""
|
||||
@ -9251,7 +9265,8 @@ msgstr ""
|
||||
"nick, \"host\": nome host, \"command\": comando, \"channel\": canale, "
|
||||
"\"arguments\": argomenti (include il canale)"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "divide un messaggio IRC (per adattarlo in 512 byte)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
19
po/ja.po
19
po/ja.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-13 09:00+0900\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@ -8812,6 +8812,12 @@ msgstr ""
|
||||
"%s%s: 指紋が間違っています、指紋の各桁は 16 進数で使える文字 (0-9, a-f) を"
|
||||
"使ってください"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -9135,6 +9141,14 @@ msgid ""
|
||||
"command instead)"
|
||||
msgstr "サーバの通知リスト (これを変更する場合は、/notify コマンドを使うこと)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: サーバ \"%s\" 追加中のエラー"
|
||||
@ -9817,7 +9831,8 @@ msgstr ""
|
||||
"が見つからない場合 \"-1\")、\"pos_text\": \"text\" メッセージのインデックス "
|
||||
"(\"text\" が見つからない場合 \"-1\")"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "IRC メッセージを分割 (512 バイトに収める)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
19
po/pl.po
19
po/pl.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -8958,6 +8958,12 @@ msgstr ""
|
||||
"%s%s: niepoprawny skrót, może on zawierać tylko znaki heksadecymalne (0-9, a-"
|
||||
"f)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -9300,6 +9306,14 @@ msgstr ""
|
||||
"lista powiadomień dla tego serwera (nie powinieneś zmieniać tej opcji tylko "
|
||||
"użyć w zamian komendy /notify)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: błąd podczas dodawania serwera \"%s\""
|
||||
@ -9993,7 +10007,8 @@ msgstr ""
|
||||
"\"channel\" nie został znaleziony), \"pos_text\": indeks słowa \"text"
|
||||
"\" (\"-1\" jeśli \"text\" nie został znaleziony)"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "dziel wiadomość IRC (aby zmieściła się w 512 bajtach)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
19
po/pt.po
19
po/pt.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@ -8659,6 +8659,12 @@ msgstr ""
|
||||
"%s%s: impressão digital inválida, deve conter apenas dígitos hexadecimais "
|
||||
"(0-9, a-f)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -9001,6 +9007,14 @@ msgstr ""
|
||||
"lista de notificação do servidor (não deve alterar esta opção, mas sim usar "
|
||||
"o comando /notify)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: erro ao adicionar ao servidor \"%s\""
|
||||
@ -9696,7 +9710,8 @@ msgstr ""
|
||||
"\"channel\"), \"pos_text\": índice de \"text\" na mensagem (\"-1\" se não "
|
||||
"encontrar \"text\")"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
#, fuzzy
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr "dividir uma mensagem de IRC (para caber em 512 bytes)"
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
18
po/pt_BR.po
18
po/pt_BR.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -7738,6 +7738,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -8035,6 +8041,14 @@ msgstr ""
|
||||
"lista de notificação para o servidor (você não deve alterar esta opção, mas "
|
||||
"sim utilizar o comando /notify)"
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s%s: erro ao criar servidor \"%s\""
|
||||
@ -8599,7 +8613,7 @@ msgstr ""
|
||||
"\"nick\": apelido, \"host\": host, \"command\": comando, \"channel\": canal, "
|
||||
"\"arguments\": argumentos (inclui canal)"
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
18
po/ru.po
18
po/ru.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\n"
|
||||
"PO-Revision-Date: 2018-01-06 13:50+0100\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -7339,6 +7339,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -7604,6 +7610,14 @@ msgid ""
|
||||
"command instead)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%s недостаточно памяти для сообщения в строке информации\n"
|
||||
@ -8167,7 +8181,7 @@ msgid ""
|
||||
"index of \"text\" message (\"-1\" if \"text\" was not found)"
|
||||
msgstr ""
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
18
po/tr.po
18
po/tr.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\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"
|
||||
@ -6638,6 +6638,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -6868,6 +6874,14 @@ msgid ""
|
||||
"command instead)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr "%sFiltre eklenirken hata"
|
||||
@ -7387,7 +7401,7 @@ msgid ""
|
||||
"index of \"text\" message (\"-1\" if \"text\" was not found)"
|
||||
msgstr ""
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-01-11 15:55+0100\n"
|
||||
"POT-Creation-Date: 2018-01-13 22:15+0100\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"
|
||||
@ -6520,6 +6520,12 @@ msgid ""
|
||||
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid length for split, it must be either 0 or any integer between "
|
||||
"128 and 4096"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: warning: server \"%s\" not found in configuration file, not deleted in "
|
||||
@ -6750,6 +6756,14 @@ msgid ""
|
||||
"command instead)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"split outgoing IRC messages to fit in this number of chars; the default "
|
||||
"value is 512, this is a safe and recommended value); value 0 disables the "
|
||||
"split (not recommended, unless you know what you do); allowed values are 0 "
|
||||
"or any integer between 128 and 4096; this option should be changed only on "
|
||||
"non-standard IRC servers, for example gateways like bitlbee"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: error adding server \"%s\""
|
||||
msgstr ""
|
||||
@ -7265,7 +7279,7 @@ msgid ""
|
||||
"index of \"text\" message (\"-1\" if \"text\" was not found)"
|
||||
msgstr ""
|
||||
|
||||
msgid "split an IRC message (to fit in 512 bytes)"
|
||||
msgid "split an IRC message (to fit in 512 bytes by default)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
|
||||
|
@ -4969,6 +4969,15 @@ irc_command_display_server (struct t_irc_server *server, int with_detail)
|
||||
weechat_printf (NULL, " notify . . . . . . . : %s'%s'",
|
||||
IRC_COLOR_CHAT_VALUE,
|
||||
weechat_config_string (server->options[IRC_SERVER_OPTION_NOTIFY]));
|
||||
|
||||
/* split_msg_max_length */
|
||||
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH]))
|
||||
weechat_printf (NULL, " split_msg_max_length : (%d)",
|
||||
IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH));
|
||||
else
|
||||
weechat_printf (NULL, " split_msg_max_length : %s%d",
|
||||
IRC_COLOR_CHAT_VALUE,
|
||||
weechat_config_integer (server->options[IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH]));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -995,6 +995,8 @@ irc_config_server_check_value_cb (const void *pointer, void *data,
|
||||
{
|
||||
int index_option, proxy_found;
|
||||
const char *pos_error, *proxy_name;
|
||||
char *error;
|
||||
long number;
|
||||
struct t_infolist *infolist;
|
||||
#ifdef HAVE_GNUTLS
|
||||
char *fingerprint_eval, **fingerprints, *str_sizes;
|
||||
@ -1127,6 +1129,31 @@ irc_config_server_check_value_cb (const void *pointer, void *data,
|
||||
}
|
||||
#endif /* HAVE_GNUTLS */
|
||||
break;
|
||||
case IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH:
|
||||
if (!value || !value[0])
|
||||
break;
|
||||
error = NULL;
|
||||
number = strtol (value, &error, 10);
|
||||
if (!error || error[0])
|
||||
{
|
||||
/*
|
||||
* not a valid number, but we return 1 (OK) to let WeeChat
|
||||
* display the appropriate error
|
||||
*/
|
||||
return 1;
|
||||
}
|
||||
if ((number < 0)
|
||||
|| ((number > 0) && (number < 128))
|
||||
|| (number > 4096))
|
||||
{
|
||||
weechat_printf (
|
||||
NULL,
|
||||
_("%s%s: invalid length for split, it must be "
|
||||
"either 0 or any integer between 128 and 4096"),
|
||||
weechat_prefix ("error"), IRC_PLUGIN_NAME);
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2264,6 +2291,29 @@ irc_config_server_new_option (struct t_config_file *config_file,
|
||||
callback_change_data,
|
||||
NULL, NULL, NULL);
|
||||
break;
|
||||
case IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH:
|
||||
new_option = weechat_config_new_option (
|
||||
config_file, section,
|
||||
option_name, "integer",
|
||||
N_("split outgoing IRC messages to fit in this number of chars; "
|
||||
"the default value is 512, this is a safe and recommended "
|
||||
"value); "
|
||||
"value 0 disables the split (not recommended, unless you "
|
||||
"know what you do); allowed values are 0 or "
|
||||
"any integer between 128 and 4096; "
|
||||
"this option should be changed only on non-standard IRC "
|
||||
"servers, for example gateways like bitlbee"),
|
||||
NULL, 0, 4096,
|
||||
default_value, value,
|
||||
null_value_allowed,
|
||||
callback_check_value,
|
||||
callback_check_value_pointer,
|
||||
callback_check_value_data,
|
||||
callback_change,
|
||||
callback_change_pointer,
|
||||
callback_change_data,
|
||||
NULL, NULL, NULL);
|
||||
break;
|
||||
case IRC_SERVER_NUM_OPTIONS:
|
||||
break;
|
||||
}
|
||||
|
@ -898,7 +898,7 @@ irc_info_init ()
|
||||
&irc_info_info_hashtable_irc_message_parse_cb, NULL, NULL);
|
||||
weechat_hook_info_hashtable (
|
||||
"irc_message_split",
|
||||
N_("split an IRC message (to fit in 512 bytes)"),
|
||||
N_("split an IRC message (to fit in 512 bytes by default)"),
|
||||
N_("\"message\": IRC message, \"server\": server name (optional)"),
|
||||
/* TRANSLATORS: please do not translate key names (enclosed by quotes) */
|
||||
N_("\"msg1\" ... \"msgN\": messages to send (without final \"\\r\\n\"), "
|
||||
|
@ -139,7 +139,8 @@ irc_input_user_message_display (struct t_gui_buffer *buffer, int action,
|
||||
}
|
||||
|
||||
/*
|
||||
* Sends a PRIVMSG message, and split it if message size is > 512 bytes.
|
||||
* Sends a PRIVMSG message, and split it if message size is > 512 bytes
|
||||
* (by default).
|
||||
*
|
||||
* Warning: this function makes temporary changes in "message".
|
||||
*/
|
||||
|
@ -25,8 +25,9 @@
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
#include "irc.h"
|
||||
#include "irc-server.h"
|
||||
#include "irc-channel.h"
|
||||
#include "irc-config.h"
|
||||
#include "irc-server.h"
|
||||
|
||||
|
||||
/*
|
||||
@ -653,13 +654,14 @@ irc_message_split_string (struct t_hashtable *hashtable,
|
||||
const char *arguments,
|
||||
const char *suffix,
|
||||
const char delimiter,
|
||||
int max_length_host)
|
||||
int max_length_host,
|
||||
int max_length)
|
||||
{
|
||||
const char *pos, *pos_max, *pos_next, *pos_last_delim;
|
||||
char message[1024], *dup_arguments;
|
||||
int max_length, number;
|
||||
char message[8192], *dup_arguments;
|
||||
int number;
|
||||
|
||||
max_length = 510;
|
||||
max_length -= 2; /* by default: 512 - 2 = 510 bytes */
|
||||
if (max_length_host >= 0)
|
||||
max_length -= max_length_host;
|
||||
else
|
||||
@ -753,12 +755,15 @@ irc_message_split_string (struct t_hashtable *hashtable,
|
||||
int
|
||||
irc_message_split_join (struct t_hashtable *hashtable,
|
||||
const char *tags, const char *host,
|
||||
const char *arguments)
|
||||
const char *arguments,
|
||||
int max_length)
|
||||
{
|
||||
int number, channels_count, keys_count, length, length_no_channel;
|
||||
int length_to_add, index_channel;
|
||||
char **channels, **keys, *pos, *str;
|
||||
char msg_to_send[2048], keys_to_add[2048];
|
||||
char msg_to_send[16384], keys_to_add[16384];
|
||||
|
||||
max_length -= 2; /* by default: 512 - 2 = 510 bytes */
|
||||
|
||||
number = 1;
|
||||
|
||||
@ -799,7 +804,8 @@ irc_message_split_join (struct t_hashtable *hashtable,
|
||||
length_to_add = 1 + strlen (channels[index_channel]);
|
||||
if (index_channel < keys_count)
|
||||
length_to_add += 1 + strlen (keys[index_channel]);
|
||||
if ((length + length_to_add < 510) || (length == length_no_channel))
|
||||
if ((length + length_to_add < max_length)
|
||||
|| (length == length_no_channel))
|
||||
{
|
||||
if (length + length_to_add < (int)sizeof (msg_to_send))
|
||||
{
|
||||
@ -864,9 +870,10 @@ int
|
||||
irc_message_split_privmsg_notice (struct t_hashtable *hashtable,
|
||||
char *tags, char *host, char *command,
|
||||
char *target, char *arguments,
|
||||
int max_length_host)
|
||||
int max_length_host,
|
||||
int max_length)
|
||||
{
|
||||
char prefix[512], suffix[2], *pos, saved_char;
|
||||
char prefix[4096], suffix[2], *pos, saved_char;
|
||||
int length, rc;
|
||||
|
||||
/*
|
||||
@ -903,7 +910,7 @@ irc_message_split_privmsg_notice (struct t_hashtable *hashtable,
|
||||
|
||||
rc = irc_message_split_string (hashtable, tags, host, command, target,
|
||||
prefix, arguments, suffix,
|
||||
' ', max_length_host);
|
||||
' ', max_length_host, max_length);
|
||||
|
||||
return rc;
|
||||
}
|
||||
@ -919,9 +926,9 @@ irc_message_split_privmsg_notice (struct t_hashtable *hashtable,
|
||||
int
|
||||
irc_message_split_005 (struct t_hashtable *hashtable,
|
||||
char *tags, char *host, char *command, char *target,
|
||||
char *arguments)
|
||||
char *arguments, int max_length)
|
||||
{
|
||||
char *pos, suffix[512];
|
||||
char *pos, suffix[4096];
|
||||
|
||||
/*
|
||||
* 005 message looks like:
|
||||
@ -941,7 +948,8 @@ irc_message_split_005 (struct t_hashtable *hashtable,
|
||||
}
|
||||
|
||||
return irc_message_split_string (hashtable, tags, host, command, target,
|
||||
NULL, arguments, suffix, ' ', -1);
|
||||
NULL, arguments, suffix, ' ', -1,
|
||||
max_length);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -951,6 +959,10 @@ irc_message_split_005 (struct t_hashtable *hashtable,
|
||||
* "\r\n", so full size is 512 bytes (the user data does not include the
|
||||
* optional tags before the host).
|
||||
*
|
||||
* The 512 max length is the default (recommended) and can be changed with the
|
||||
* server option called "split_msg_max_length" (0 to disable completely the
|
||||
* split).
|
||||
*
|
||||
* The split takes care about type of message to do a split at best place in
|
||||
* message.
|
||||
*
|
||||
@ -972,9 +984,10 @@ struct t_hashtable *
|
||||
irc_message_split (struct t_irc_server *server, const char *message)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
char **argv, **argv_eol, *tags, *host, *command, *arguments, target[512];
|
||||
char **argv, **argv_eol, *tags, *host, *command, *arguments, target[4096];
|
||||
char *pos, monitor_action[3];
|
||||
int split_ok, argc, index_args, max_length_nick, max_length_host;
|
||||
int split_msg_max_length;
|
||||
|
||||
split_ok = 0;
|
||||
tags = NULL;
|
||||
@ -984,9 +997,22 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
argv = NULL;
|
||||
argv_eol = NULL;
|
||||
|
||||
if (server)
|
||||
{
|
||||
split_msg_max_length = IRC_SERVER_OPTION_INTEGER(
|
||||
server, IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH);
|
||||
}
|
||||
else
|
||||
{
|
||||
split_msg_max_length = 512; /* max length by default */
|
||||
}
|
||||
|
||||
/* debug message */
|
||||
if (weechat_irc_plugin->debug >= 2)
|
||||
weechat_printf (NULL, "irc_message_split: message='%s'", message);
|
||||
{
|
||||
weechat_printf (NULL, "irc_message_split: message='%s', max length=%d",
|
||||
message, split_msg_max_length);
|
||||
}
|
||||
|
||||
hashtable = weechat_hashtable_new (32,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@ -1030,6 +1056,10 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
index_args = 1;
|
||||
}
|
||||
|
||||
/* split disabled? just add the message as-is */
|
||||
if (split_msg_max_length == 0)
|
||||
goto end;
|
||||
|
||||
max_length_nick = (server && (server->nick_max_length > 0)) ?
|
||||
server->nick_max_length : 16;
|
||||
max_length_host = 1 + /* ":" */
|
||||
@ -1049,7 +1079,7 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
hashtable, tags, host, command, NULL, ":",
|
||||
(argv_eol[index_args][0] == ':') ?
|
||||
argv_eol[index_args] + 1 : argv_eol[index_args],
|
||||
NULL, ' ', max_length_host);
|
||||
NULL, ' ', max_length_host, split_msg_max_length);
|
||||
}
|
||||
else if (weechat_strcasecmp (command, "monitor") == 0)
|
||||
{
|
||||
@ -1064,7 +1094,8 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
"%c ", argv_eol[index_args][0]);
|
||||
split_ok = irc_message_split_string (
|
||||
hashtable, tags, host, command, NULL, monitor_action,
|
||||
argv_eol[index_args] + 2, NULL, ',', max_length_host);
|
||||
argv_eol[index_args] + 2, NULL, ',', max_length_host,
|
||||
split_msg_max_length);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1072,17 +1103,17 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
hashtable, tags, host, command, NULL, ":",
|
||||
(argv_eol[index_args][0] == ':') ?
|
||||
argv_eol[index_args] + 1 : argv_eol[index_args],
|
||||
NULL, ',', max_length_host);
|
||||
NULL, ',', max_length_host, split_msg_max_length);
|
||||
}
|
||||
}
|
||||
else if (weechat_strcasecmp (command, "join") == 0)
|
||||
{
|
||||
/* JOIN #channel1,#channel2,#channel3 key1,key2 */
|
||||
if (strlen (message) > 510)
|
||||
if ((int)strlen (message) > split_msg_max_length - 2)
|
||||
{
|
||||
/* split join if it's more than 510 bytes */
|
||||
/* split join if it's too long */
|
||||
split_ok = irc_message_split_join (hashtable, tags, host,
|
||||
arguments);
|
||||
arguments, split_msg_max_length);
|
||||
}
|
||||
}
|
||||
else if ((weechat_strcasecmp (command, "privmsg") == 0)
|
||||
@ -1098,7 +1129,7 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
hashtable, tags, host, command, argv[index_args],
|
||||
(argv_eol[index_args + 1][0] == ':') ?
|
||||
argv_eol[index_args + 1] + 1 : argv_eol[index_args + 1],
|
||||
max_length_host);
|
||||
max_length_host, split_msg_max_length);
|
||||
}
|
||||
}
|
||||
else if (weechat_strcasecmp (command, "005") == 0)
|
||||
@ -1109,7 +1140,8 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
split_ok = irc_message_split_005 (
|
||||
hashtable, tags, host, command, argv[index_args],
|
||||
(argv_eol[index_args + 1][0] == ':') ?
|
||||
argv_eol[index_args + 1] + 1 : argv_eol[index_args + 1]);
|
||||
argv_eol[index_args + 1] + 1 : argv_eol[index_args + 1],
|
||||
split_msg_max_length);
|
||||
}
|
||||
}
|
||||
else if (weechat_strcasecmp (command, "353") == 0)
|
||||
@ -1128,7 +1160,7 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
hashtable, tags, host, command, target, ":",
|
||||
(argv_eol[index_args + 2][0] == ':') ?
|
||||
argv_eol[index_args + 2] + 1 : argv_eol[index_args + 2],
|
||||
NULL, ' ', -1);
|
||||
NULL, ' ', -1, split_msg_max_length);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1141,7 +1173,7 @@ irc_message_split (struct t_irc_server *server, const char *message)
|
||||
hashtable, tags, host, command, target, ":",
|
||||
(argv_eol[index_args + 3][0] == ':') ?
|
||||
argv_eol[index_args + 3] + 1 : argv_eol[index_args + 3],
|
||||
NULL, ' ', -1);
|
||||
NULL, ' ', -1, split_msg_max_length);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,6 +117,7 @@ char *irc_server_options[IRC_SERVER_NUM_OPTIONS][2] =
|
||||
{ "msg_part", "WeeChat ${info:version}" },
|
||||
{ "msg_quit", "WeeChat ${info:version}" },
|
||||
{ "notify", "" },
|
||||
{ "split_msg_max_length", "512" },
|
||||
};
|
||||
|
||||
char *irc_server_casemapping_string[IRC_SERVER_NUM_CASEMAPPING] =
|
||||
@ -2489,7 +2490,10 @@ irc_server_sendf (struct t_irc_server *server, int flags, const char *tags,
|
||||
(new_msg) ? new_msg : items[i],
|
||||
NULL);
|
||||
|
||||
/* split message if needed (max is 512 bytes including final "\r\n") */
|
||||
/*
|
||||
* split message if needed (max is 512 bytes by default,
|
||||
* including the final "\r\n")
|
||||
*/
|
||||
hashtable = irc_message_split (server,
|
||||
(new_msg) ? new_msg : items[i]);
|
||||
if (hashtable)
|
||||
|
@ -84,6 +84,7 @@ enum t_irc_server_option
|
||||
IRC_SERVER_OPTION_MSG_PART, /* default part message */
|
||||
IRC_SERVER_OPTION_MSG_QUIT, /* default quit message */
|
||||
IRC_SERVER_OPTION_NOTIFY, /* notify list */
|
||||
IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH, /* max length of messages */
|
||||
/* number of server options */
|
||||
IRC_SERVER_NUM_OPTIONS,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user