diff --git a/doc/en/weechat_relay_protocol.en.adoc b/doc/en/weechat_relay_protocol.en.adoc index 822c8fa57..afe0a0c1a 100644 --- a/doc/en/weechat_relay_protocol.en.adoc +++ b/doc/en/weechat_relay_protocol.en.adoc @@ -1339,7 +1339,7 @@ Objects are identified by 3 letters, called _type_. Following types are used: | chr | Signed char | 1 byte | int | Signed integer | 4 bytes | lon | Signed long integer | 1 byte + length of integer as string -| str | String | 4 bytes + length of string (without final _\0_) +| str | String | 4 bytes + length of string (without final `\0`) | buf | Buffer of bytes | 4 bytes + length of data | ptr | Pointer | 1 byte + length of pointer as string | tim | Time | 1 byte + length of time as string @@ -1409,7 +1409,7 @@ length '-' '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' [[object_string]] ==== String -A string is a length (integer on 4 bytes) + content of string (without final _\0_). +A string is a length (integer on 4 bytes) + content of string (without final `\0`). Example: diff --git a/doc/fr/weechat_relay_protocol.fr.adoc b/doc/fr/weechat_relay_protocol.fr.adoc index f27b82dba..353345496 100644 --- a/doc/fr/weechat_relay_protocol.fr.adoc +++ b/doc/fr/weechat_relay_protocol.fr.adoc @@ -1365,7 +1365,7 @@ sont utilisés : | chr | Caractère signé | 1 octet | int | Entier signé | 4 octets | lon | Entier long signé | 1 octet + longueur de l'entier sous forme de chaîne -| str | Chaîne | 4 octets + longueur de la chaîne (sans le _\0_ final) +| str | Chaîne | 4 octets + longueur de la chaîne (sans le `\0` final) | buf | Tampon d'octets | 4 octets + longueur des données | ptr | Pointeur | 1 octet + longueur du pointeur sous forme de chaîne | tim | Date/heure | 1 octet + longueur de la date/heure sous forme de chaîne @@ -1437,7 +1437,7 @@ long. '-' '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' ==== Chaîne de caractères Une chaîne de caractère est une longueur (un entier sur 4 octets) + le contenu -de la chaîne (sans le _\0_ final). +de la chaîne (sans le `\0` final). Exemple : diff --git a/doc/ja/weechat_relay_protocol.ja.adoc b/doc/ja/weechat_relay_protocol.ja.adoc index 8925041aa..2fa3181e4 100644 --- a/doc/ja/weechat_relay_protocol.ja.adoc +++ b/doc/ja/weechat_relay_protocol.ja.adoc @@ -1345,7 +1345,7 @@ _WeeChat バージョン 0.3.8 以上で利用可。_ | chr | 符号付文字 | 1 バイト | int | 符号付整数 | 4 バイト | lon | 符号付長整数 | 1 バイト + 文字列で表現した整数の長さ -| str | 文字列 | 4 バイト + 文字列の長さ (最後の _\0_ を含まない) +| str | 文字列 | 4 バイト + 文字列の長さ (最後の `\0` を含まない) | buf | バッファのバイト数 | 4 バイト + データの長さ | ptr | ポインタ | 1 バイト + 文字列で表現したポインタの長さ | tim | 時間 | 1 バイト + 文字列で表現した時間の長さ @@ -1415,7 +1415,7 @@ length '-' '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' [[object_string]] ==== 文字列 -1 つの文字列はその長さ (4 バイト表現した整数) + 文字列の内容 (最後の _\0_ を除く) で表現されています。 +1 つの文字列はその長さ (4 バイト表現した整数) + 文字列の内容 (最後の `\0` を除く) で表現されています。 例: