From b825ce49c2ca4f8e5aa95a4a21763a83f95a3038 Mon Sep 17 00:00:00 2001 From: Sébastien Helleu Date: Sun, 26 Jun 2022 23:47:05 +0200 Subject: doc/api: add arrow and open external links in new tab --- doc/en/weechat_plugin_api.en.adoc | 31 +++++++++++++++++-------------- doc/fr/weechat_plugin_api.fr.adoc | 32 ++++++++++++++++---------------- doc/it/weechat_plugin_api.it.adoc | 34 +++++++++++++++++++--------------- doc/ja/weechat_plugin_api.ja.adoc | 36 +++++++++++++++++++++--------------- doc/sr/weechat_plugin_api.sr.adoc | 38 ++++++++++++++++++++++++-------------- 5 files changed, 97 insertions(+), 74 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 74f3a9a6f..04c9b097e 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -11,8 +11,8 @@ This manual documents WeeChat chat client, it is part of WeeChat. -Latest version of this document can be found on this page: -https://weechat.org/doc/ +Latest version of this document can be found on +https://weechat.org/doc/[this page ^↗^,window=_blank]. [[introduction]] @@ -286,7 +286,7 @@ Functions to register a script: used only by scripting API, not the C API. Register the script. For more information, see the -link:weechat_scripting.en.html#register_function[WeeChat scripting guide]. +link:weechat_scripting.en.html#register_function[WeeChat scripting guide ^↗^,window=_blank]. Script (Python): @@ -1720,7 +1720,8 @@ _WeeChat ≥ 1.0._ Split a string like the shell does for a command with arguments. This function is a C conversion of Python class "shlex" (file: Lib/shlex.py in -Python repository), see: https://docs.python.org/3/library/shlex.html. +Python repository), see +https://docs.python.org/3/library/shlex.html[this page ^↗^,window=_blank]. Prototype: @@ -6512,8 +6513,8 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color", [NOTE] In Ruby, the 3 callbacks + data (6 strings) must be given in an array of 6 strings (due to a Ruby limitation of 15 arguments by function), see the -link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide] for more info -_(fixed in version 0.4.1)_. +link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide ^↗^,window=_blank] +for more info _(fixed in version 0.4.1)_. ==== config_search_option @@ -8579,7 +8580,7 @@ Arguments: * _tags_: comma separated list of tags (NULL means no tags) * _message_: message to display -See the link:weechat_user.en.html#lines_tags[WeeChat user's guide / Lines tags] +See the link:weechat_user.en.html#lines_tags[WeeChat user's guide / Lines tags ^↗^,window=_blank] for a list of commonly used tags in WeeChat. C example: @@ -9343,7 +9344,8 @@ In scripting API, the function _name_ is called directly and its result [TIP] If you want to retrieve infos about WeeChat (like current stable version, -latest git commit, etc.), you can use URLs on page https://weechat.org/dev/info/ +latest git commit, etc.), you can use URLs on +https://weechat.org/dev/info/[this page ^↗^,window=_blank]. [NOTE] Buffer size for sending data to callback is 64KB (there are 2 buffers: one for @@ -11864,13 +11866,13 @@ List of modifiers defined by WeeChat and plugins that can be used: | - | Any string. | String with IRC tag value escaped, - see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. | [[hook_modifier_irc_tag_unescape_value]] irc_tag_unescape_value | 3.3 | - | Any string. | String with IRC tag value unescaped, - see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. | [[hook_modifier_color_decode_ansi]] color_decode_ansi | 1.0 | "1" to keep colors, "0" to remove colors @@ -14993,7 +14995,7 @@ Arguments: ** _inactive_: bar is displayed in inactive windows only ** _nicklist_: bar is displayed in windows with nicklist ** evaluated expression: see the - link:weechat_user.en.html#bar_conditions[WeeChat user's guide / Bar conditions] + link:weechat_user.en.html#bar_conditions[WeeChat user's guide / Bar conditions ^↗^,window=_blank] * _position_: _top_, _bottom_, _left_ or _right_ * _filling_top_bottom_: ** _horizontal_: items are filled horizontally (space after each item) @@ -15063,7 +15065,8 @@ bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", With WeeChat ≥ 2.9, in Ruby, the 4 colors (color_fg, color_delim, color_bg, color_bg_inactive) must be given in an array of 4 strings (due to a Ruby limitation of 15 arguments by function), see the -link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide] for more info. +link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide ^↗^,window=_blank] +for more info. ==== bar_set @@ -15754,7 +15757,7 @@ if (hashtable_in) ---- [NOTE] -See the link:weechat_scripting.en.html#irc_message_parse[WeeChat scripting guide / Parse message] +See the link:weechat_scripting.en.html#irc_message_parse[WeeChat scripting guide / Parse message ^↗^,window=_blank] for more info about "irc_message_parse" output. Script (Python): @@ -17395,7 +17398,7 @@ Arguments: * _search_: expression to evaluate, default pointer in expression is the name of hdata (and this pointer changes for each element in list); for help on expression, see the - link:weechat_user.en.html#command_weechat_eval[WeeChat user's guide / Command /eval] + link:weechat_user.en.html#command_weechat_eval[WeeChat user's guide / Command /eval ^↗^,window=_blank] * _pointers_: hashtable for call to function <<_string_eval_expression,string_eval_expression>> * _extra_vars_: hashtable for call to function diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 3251f7192..95ea7de62 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -13,8 +13,8 @@ Ce manuel documente le client de messagerie instantanée WeeChat, il fait partie de WeeChat. -La dernière version de ce document peut être téléchargée sur cette page : -https://weechat.org/doc/ +La dernière version de ce document peut être téléchargée sur +https://weechat.org/doc/[cette page ^↗^,window=_blank]. [[introduction]] @@ -294,7 +294,7 @@ pas l'API C. Enregistrer le script. Pour plus d'informations, voir le -link:weechat_scripting.fr.html#register_function[Guide pour scripts WeeChat]. +link:weechat_scripting.fr.html#register_function[Guide pour scripts WeeChat ^↗^,window=_blank]. Script (Python) : @@ -1751,8 +1751,8 @@ Découper une chaîne comme le shell le fait pour une commande avec ses paramètres. Cette fonction est une conversion en C de la classe Python "shlex" (fichier : -Lib/shlex.py dans le dépôt Python), voir : -https://docs.python.org/3/library/shlex.html. +Lib/shlex.py dans le dépôt Python), voir +https://docs.python.org/3/library/shlex.html[cette page ^↗^,window=_blank]. Prototype : @@ -6615,8 +6615,8 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color", En Ruby, les 3 fonctions de rappel + "data" (6 chaînes) doivent être données dans un tableau de 6 chaînes de caractères (en raison d'une limitation de Ruby à 15 paramètres par fonction), voir le -link:++weechat_scripting.fr.html#_ruby++[Guide pour scripts WeeChat] pour plus -d'infos _(corrigé dans la version 0.4.1)_. +link:++weechat_scripting.fr.html#_ruby++[Guide pour scripts WeeChat ^↗^,window=_blank] +pour plus d'infos _(corrigé dans la version 0.4.1)_. ==== config_search_option @@ -8713,7 +8713,7 @@ Paramètres : étiquette) * _message_ : message à afficher -Voir le link:weechat_user.fr.html#lines_tags[Guide utilisateur WeeChat / Étiquettes des lignes] +Voir le link:weechat_user.fr.html#lines_tags[Guide utilisateur WeeChat / Étiquettes des lignes ^↗^,window=_blank] pour une liste des étiquettes couramment utilisées dans WeeChat. Exemple en C : @@ -9517,7 +9517,7 @@ d'une commande externe). [TIP] Si vous souhaitez récupérer des infos à propos de WeeChat (comme la version stable actuelle, le dernier commit git, etc.), vous pouvez utiliser les URLs -sur la page https://weechat.org/dev/info/ +sur https://weechat.org/dev/info/[cette page ^↗^,window=_blank]. [NOTE] La taille du tampon pour l'envoi des données à la fonction de rappel est de @@ -12119,13 +12119,13 @@ utilisés : | - | Toute chaîne. | Chaîne avec la valeur de l'étiquette IRC échappée, - voir : https://ircv3.net/specs/extensions/message-tags#escaping-values. + voir https://ircv3.net/specs/extensions/message-tags#escaping-values[cette page ^↗^,window=_blank]. | [[hook_modifier_irc_tag_unescape_value]] irc_tag_unescape_value | 3.3 | - | Toute chaîne. | Chaîne avec la valeur de l'étiquette IRC sans échappements, - voir : https://ircv3.net/specs/extensions/message-tags#escaping-values. + voir https://ircv3.net/specs/extensions/message-tags#escaping-values[cette page ^↗^,window=_blank]. | [[hook_modifier_color_decode_ansi]] color_decode_ansi | 1.0 | "1" pour garder les couleurs, "0" pour les supprimer @@ -15313,7 +15313,7 @@ Paramètres : ** _nicklist_ : la barre est affichée dans les fenêtres possédant une liste des pseudos ** expression évaluée : voir le - link:weechat_user.fr.html#bar_conditions[Guide utilisateur WeeChat / Conditions de barres] + link:weechat_user.fr.html#bar_conditions[Guide utilisateur WeeChat / Conditions de barres ^↗^,window=_blank] * _position_ : _top_ (en haut), _bottom_ (en bas), _left_ (à gauche) ou _right_ (à droite) * _filling_top_bottom_ : @@ -15392,8 +15392,8 @@ bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", Avec WeeChat ≥ 2.9, en Ruby, les 4 couleurs (color_fg, color_delim, color_bg, color_bg_inactive) doivent être données dans un tableau de 4 chaînes de caractères (en raison d'une limitation de Ruby à 15 paramètres par fonction), voir le -link:++weechat_scripting.fr.html#_ruby++[Guide pour scripts WeeChat] pour plus -d'infos. +link:++weechat_scripting.fr.html#_ruby++[Guide pour scripts WeeChat ^↗^,window=_blank] +pour plus d'infos. ==== bar_set @@ -16085,7 +16085,7 @@ if (hashtable_in) ---- [NOTE] -Voir le link:weechat_scripting.fr.html#irc_message_parse[Guide pour scripts WeeChat / Analyser un message] +Voir le link:weechat_scripting.fr.html#irc_message_parse[Guide pour scripts WeeChat / Analyser un message ^↗^,window=_blank] pour plus d'infos sur la sortie de "irc_message_parse". Script (Python) : @@ -17754,7 +17754,7 @@ Paramètres : * _search_ : expression à évaluer, le pointeur par défaut dans l'expression est le nom du hdata (et ce pointeur change pour chaque élément dans la liste); pour l'aide sur l'expression, voir le - link:weechat_user.fr.html#command_weechat_eval[Guide utilisateur WeeChat / Commande /eval] + link:weechat_user.fr.html#command_weechat_eval[Guide utilisateur WeeChat / Commande /eval ^↗^,window=_blank] * _pointers_ : table de hachage pour l'appel à la fonction <<_string_eval_expression,string_eval_expression>> * _extra_vars_ : table de hachage pour l'appel à la fonction diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index cd44f5004..d17f2a25c 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -19,8 +19,9 @@ Translators: Questo manuale documenta il client di chat WeeChat, ed è parte del programma stesso. -La versione più recente di questo documento si trova qui: -https://weechat.org/doc/ +// TRANSLATION MISSING +Latest version of this document can be found on +https://weechat.org/doc/[this page ^↗^,window=_blank]. [[introduction]] @@ -309,7 +310,7 @@ Functions to register a script: used only by scripting API, not the C API. Register the script. For more information, see the -link:weechat_scripting.it.html#register_function[WeeChat scripting guide]. +link:weechat_scripting.it.html#register_function[WeeChat scripting guide ^↗^,window=_blank]. Script (Python): @@ -1802,7 +1803,8 @@ Split a string like the shell does for a command with arguments. // TRANSLATION MISSING This function is a C conversion of Python class "shlex" (file: Lib/shlex.py in -Python repository), see: https://docs.python.org/3/library/shlex.html. +Python repository), see +https://docs.python.org/3/library/shlex.html[this page ^↗^,window=_blank]. Prototipo: @@ -6736,8 +6738,8 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color", [NOTE] In Ruby, the 3 callbacks + data (6 strings) must be given in an array of 6 strings (due to a Ruby limitation of 15 arguments by function), see the -link:++weechat_scripting.it.html#_ruby++[WeeChat Scripting Guide] for more info -_(fixed in version 0.4.1)_. +link:++weechat_scripting.it.html#_ruby++[WeeChat Scripting Guide ^↗^,window=_blank] +for more info _(fixed in version 0.4.1)_. ==== config_search_option @@ -8853,7 +8855,7 @@ Argomenti: * _message_: messaggio da visualizzare // TRANSLATION MISSING -See the link:weechat_user.it.html#lines_tags[WeeChat user's guide / Lines tags] +See the link:weechat_user.it.html#lines_tags[WeeChat user's guide / Lines tags ^↗^,window=_blank] for a list of commonly used tags in WeeChat. Esempio in C: @@ -9638,10 +9640,11 @@ process (after fork). + In scripting API, the function _name_ is called directly and its result (string) is sent to the callback (like the output of an external command). -// TRANSLATION MISSING [TIP] +// TRANSLATION MISSING If you want to retrieve infos about WeeChat (like current stable version, -latest git commit, ...), you can use URLs on page https://weechat.org/dev/info/ +latest git commit, etc.), you can use URLs on +https://weechat.org/dev/info/[this page ^↗^,window=_blank]. [NOTE] La dimensione del buffer per l'invio dei dati alla callback è di 64KB (ci sono @@ -12355,14 +12358,14 @@ List of modifiers defined by WeeChat and plugins that can be used: | - | Any string. | String with IRC tag value escaped, - see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. // TRANSLATION MISSING | [[hook_modifier_irc_tag_unescape_value]] irc_tag_unescape_value | 3.3 | - | Any string. | String with IRC tag value unescaped, - see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. // TRANSLATION MISSING | [[hook_modifier_color_decode_ansi]] color_decode_ansi | 1.0 @@ -15613,7 +15616,7 @@ Argomenti: ** _nicklist_: la barra viene visualizzata nelle finestre con liste nick // TRANSLATION MISSING ** evaluated expression: see the - link:weechat_user.it.html#bar_conditions[WeeChat user's guide / Bar conditions] + link:weechat_user.it.html#bar_conditions[WeeChat user's guide / Bar conditions ^↗^,window=_blank] * _position_: _top_, _bottom_, _left_ o _right_ * _filling_top_bottom_: ** _horizontal_: gli elementi sono posizionati in orizzontale @@ -15695,7 +15698,8 @@ bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", With WeeChat ≥ 2.9, in Ruby, the 4 colors (color_fg, color_delim, color_bg, color_bg_inactive) must be given in an array of 4 strings (due to a Ruby limitation of 15 arguments by function), see the -link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide] for more info. +link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide ^↗^,window=_blank] +for more info. ==== bar_set @@ -16413,7 +16417,7 @@ if (hashtable_in) // TRANSLATION MISSING [NOTE] -See the link:weechat_scripting.it.html#irc_message_parse[Guida allo Scripting di WeeChat / Verifica messaggio] +See the link:weechat_scripting.it.html#irc_message_parse[Guida allo Scripting di WeeChat / Verifica messaggio ^↗^,window=_blank] for more info about "irc_message_parse" output. Script (Python): @@ -18102,7 +18106,7 @@ Argomenti: * _search_: expression to evaluate, default pointer in expression is the name of hdata (and this pointer changes for each element in list); for help on expression, see the - link:weechat_user.it.html#command_weechat_eval[WeeChat user's guide / Command /eval] + link:weechat_user.it.html#command_weechat_eval[WeeChat user's guide / Command /eval ^↗^,window=_blank] // TRANSLATION MISSING * _pointers_: hashtable for call to function <<_string_eval_expression,string_eval_expression>> diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 143b18dbe..d28349a40 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -17,8 +17,9 @@ このマニュアルは WeeChat チャットクライアントについての文書で、WeeChat の一部です。 -この文書の最新版を見るには以下のページを確認して下さい: -https://weechat.org/doc/ +// TRANSLATION MISSING +Latest version of this document can be found on +https://weechat.org/doc/[this page ^↗^,window=_blank]. [[introduction]] @@ -296,7 +297,7 @@ Functions to register a script: used only by scripting API, not the C API. Register the script. For more information, see the -link:weechat_scripting.ja.html#register_function[WeeChat scripting guide]. +link:weechat_scripting.ja.html#register_function[WeeChat scripting guide ^↗^,window=_blank]. スクリプト (Python) での使用例: @@ -1737,8 +1738,10 @@ _WeeChat バージョン 1.0 以上で利用可。_ コマンドを引数を分割する際にシェルがやるように文字列を分割。 -この関数は Python クラス "shlex" の C 言語実装です (ファイル: Python リポジトリの -Lib/shlex.py)、参照: https://docs.python.org/3/library/shlex.html 。 +// TRANSLATION MISSING +This function is a C conversion of Python class "shlex" (file: Lib/shlex.py in +Python repository), see +https://docs.python.org/3/library/shlex.html[this page ^↗^,window=_blank]. プロトタイプ: @@ -6533,7 +6536,7 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color", [NOTE] Ruby では、3 組のコールバックとデータ (6 つの文字列変数) を渡す際に必ず 6 つの文字列変数の配列を 1 つ渡してください (これは Ruby が関数に 15 個以上の引数を渡せないことが原因です)、より詳しい内容は -link:++weechat_scripting.ja.html#_ruby++[WeeChat スクリプト作成ガイド]を参照してください +link:++weechat_scripting.ja.html#_ruby++[WeeChat スクリプト作成ガイド ^↗^,window=_blank]を参照してください _(WeeChat バージョン 0.4.1 で修正済み)_。 @@ -8604,7 +8607,7 @@ void weechat_printf_date_tags (struct t_gui_buffer *buffer, time_t date, * _message_: 表示するメッセージ WeeChat で共通に使われるタグのリストは -link:weechat_user.ja.html#lines_tags[WeeChat ユーザーズガイド / 行のタグ]を参照してください +link:weechat_user.ja.html#lines_tags[WeeChat ユーザーズガイド / 行のタグ ^↗^,window=_blank]を参照してください C 言語での使用例: @@ -9369,8 +9372,10 @@ _WEECHAT_HOOK_PROCESS_CHILD_ が設定された状態で呼び出されます。 _callback_ コールバックに送られます (関数の戻り値は外部コマンドを実行した場合の出力と同様に取り扱われます)。 [TIP] -WeeChat に関する情報 (例えば現在の安定版、最新の git コミット、...) -が欲しい場合、https://weechat.org/dev/info/ に書かれている URL を使ってください +// TRANSLATION MISSING +If you want to retrieve infos about WeeChat (like current stable version, +latest git commit, etc.), you can use URLs on +https://weechat.org/dev/info/[this page ^↗^,window=_blank]. [NOTE] コールバックにデータを送信するバッファのサイズは 64KB (バッファは 2 @@ -11921,14 +11926,14 @@ WeeChat とプラグインが定義する修飾子のリスト: | - | Any string. | String with IRC tag value escaped, - see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. // TRANSLATION MISSING | [[hook_modifier_irc_tag_unescape_value]] irc_tag_unescape_value | 3.3 | - | Any string. | String with IRC tag value unescaped, - see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. | [[hook_modifier_color_decode_ansi]] color_decode_ansi | 1.0 | 色を保持する場合は "1"、削除する場合は "0" @@ -15060,7 +15065,7 @@ struct t_gui_bar *weechat_bar_new (const char *name, ** _inactive_: 非アクティブウィンドウのみに表示されているバー ** _nicklist_: ニックネームリストを持つウィンドウに表示されているバー ** 評価された式: - link:weechat_user.ja.html#bar_conditions[WeeChat ユーザーズガイド / バー状態]を参照してください + link:weechat_user.ja.html#bar_conditions[WeeChat ユーザーズガイド / バー状態 ^↗^,window=_blank]を参照してください * _position_: _top_、_bottom_、_left_、_right_ * _filling_top_bottom_: ** _horizontal_: 要素は水平方向に詰め込まれている (各要素の後に間隔) @@ -15132,7 +15137,8 @@ bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", With WeeChat ≥ 2.9, in Ruby, the 4 colors (color_fg, color_delim, color_bg, color_bg_inactive) must be given in an array of 4 strings (due to a Ruby limitation of 15 arguments by function), see the -link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide] for more info. +link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide ^↗^,window=_blank] +for more info. ==== bar_set @@ -15828,7 +15834,7 @@ if (hashtable_in) [NOTE] "irc_message_parse" の出力に関するより詳しい情報は -link:weechat_scripting.ja.html#irc_message_parse[WeeChat スクリプト作成ガイド / メッセージの構文解析]を参照してください。 +link:weechat_scripting.ja.html#irc_message_parse[WeeChat スクリプト作成ガイド / メッセージの構文解析 ^↗^,window=_blank]を参照してください。 スクリプト (Python) での使用例: @@ -17472,7 +17478,7 @@ void *weechat_hdata_search (struct t_hdata *hdata, void *pointer, const char *se * _pointer_: WeeChat および plugin オブジェクトへのポインタ * _search_: 評価する式、式中のデフォルトポインタは hdata の名前 (デフォルトポインタはリストに含まれる各要素で置換されます); 式に関する詳細は - link:weechat_user.ja.html#command_weechat_eval[WeeChat ユーザーズガイド / WeeChat コマンド / eval] を参照してください + link:weechat_user.ja.html#command_weechat_eval[WeeChat ユーザーズガイド / WeeChat コマンド / eval ^↗^,window=_blank] を参照してください * _pointers_: 関数に渡されるハッシュテーブル <<_string_eval_expression,string_eval_expression>> * _extra_vars_: 関数に渡されるハッシュテーブル diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index 9b2bc368a..d48630668 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -16,7 +16,9 @@ Ово упутство описује WeeChat чет клијент и део је програма WeeChat. -Последња верзија овог документа може да се нађе на следећој страници: https://weechat.org/doc/ +// TRANSLATION MISSING +Latest version of this document can be found on +https://weechat.org/doc/[this page ^↗^,window=_blank]. [[introduction]] @@ -266,7 +268,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) Регистрација скрипте. -За више информација, погледајте link:weechat_plugin_api.sr.html[WeeChat водич за скриптовање]. +За више информација, погледајте link:weechat_plugin_api.sr.html[WeeChat водич за скриптовање ^↗^,window=_blank]. Скрипта (Python): @@ -1642,7 +1644,10 @@ _WeeChat ≥ 1.0._ Дели стринг на начин на који командно окружење дели команду са аргументима. -Ова функција је C конверзија Python класе „shlex” (фајл: Lib/shlex.py у Python репозиторијуму), погледајте: https://docs.python.org/3/library/shlex.html. +// TRANSLATION MISSING +This function is a C conversion of Python class "shlex" (file: Lib/shlex.py in +Python repository), see +https://docs.python.org/3/library/shlex.html[this page ^↗^,window=_blank]. Прототип: @@ -6296,7 +6301,7 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color", ---- [NOTE] -У језику Ruby, 3 функције повратног позива + подаци (6 стрингова) морају да се наведу у низу од 6 стрингова (услед Ruby ограничења од 15 аргумената по функцији), за више информација, погледајте link:++weechat_scripting.sr.html#_ruby++[WeeChat водич за скриптовање] _(исправљено у верзији 0.4.1)_. +У језику Ruby, 3 функције повратног позива + подаци (6 стрингова) морају да се наведу у низу од 6 стрингова (услед Ruby ограничења од 15 аргумената по функцији), за више информација, погледајте link:++weechat_scripting.sr.html#_ruby++[WeeChat водич за скриптовање ^↗^,window=_blank] _(исправљено у верзији 0.4.1)_. ==== config_search_option @@ -8325,7 +8330,7 @@ void weechat_printf_date_tags (struct t_gui_buffer *buffer, time_t date, * _tags_: листа ознака раздвојених запетама (NULL значи да нема ознака) * _message_: порука која треба да се прикаже -За листу ознака које се уобичјаено користе у програму WeeChat, погледајте link:weechat_user.sr.html#lines_tags[Корисничко упутство / Ознаке линија]. +За листу ознака које се уобичјаено користе у програму WeeChat, погледајте link:weechat_user.sr.html#lines_tags[Корисничко упутство / Ознаке линија ^↗^,window=_blank]. C пример: @@ -9022,7 +9027,10 @@ struct t_hook *weechat_hook_process (const char *command, У API скриптовања, функција _име_ се директно позива и њен резултат (стринг) се прослеђује функцији повратног позива (као и излаз спољне команде.) [TIP] -Ако желите да сазнате инфо у вези програма WeeChat (као што је тренутна стабилна верзија, последњи git комит, итд.), можете да употребите URL адресе на страници https://weechat.org/dev/info/ +// TRANSLATION MISSING +If you want to retrieve infos about WeeChat (like current stable version, +latest git commit, etc.), you can use URLs on +https://weechat.org/dev/info/[this page ^↗^,window=_blank]. [NOTE] Величина бафера за слање података је 64KB (постоји 2 бафера: један за stdout и једна за stderr). Ако је излаз из дете процеса (stdout или stderr) дужи од 64KB, функција повратног позива ће се позивати више пута. @@ -11453,14 +11461,16 @@ char *weechat_hook_modifier_exec (const char *modifier, | [[hook_modifier_irc_tag_escape_value]] irc_tag_escape_value | 3.3 | - | Било који стринг. -| Стринг са означеном вредности IRC ознаке, - погледајте: https://ircv3.net/specs/extensions/message-tags#escaping-values. +// TRANSLATION MISSING +| String with IRC tag value escaped, + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. | [[hook_modifier_irc_tag_unescape_value]] irc_tag_unescape_value | 3.3 | - | Било који стринг. -| Стринг са неозначеном вредности IRC ознаке, - погледајте: https://ircv3.net/specs/extensions/message-tags#escaping-values. +// TRANSLATION MISSING +| String with IRC tag value unescaped, + see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^,window=_blank]. | [[hook_modifier_color_decode_ansi]] color_decode_ansi | 1.0 | "1" да се боје задрже, "0" да се боје уклоне @@ -14481,7 +14491,7 @@ struct t_gui_bar *weechat_bar_new (const char *name, ** _active_: трака се приказује само у активном прозору ** _inactive_: трака се приказује само у неактивним прозорима ** _nicklist_: трака се приказује у прозорима са листом надимака -** израчунати услови: погледајте link:weechat_user.sr.html#bar_conditions[WeeChat Корисничко упутство / Услови трака]. +** израчунати услови: погледајте link:weechat_user.sr.html#bar_conditions[WeeChat Корисничко упутство / Услови трака ^↗^,window=_blank]. * _position_: _top_, _bottom_, _left_ или _right_ * _filling_top_bottom_: ** _horizontal_: ставке се попуњавају хоризонтално (размак након сваке ставке) @@ -14546,7 +14556,7 @@ bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", ---- [NOTE] -У програму WeeChat верзије ≥ 2.9, у језику Ruby, 4 боје (color_fg, color_delim, color_bg, color_bg_inactive) морају да се наведу у низу од 4 стринга (услед ограничења језика Ruby од 15 аргумената по функцији), за више информација погледајте link:++weechat_scripting.sr.html#_ruby++[WeeChat водич за скриптовање]. +У програму WeeChat верзије ≥ 2.9, у језику Ruby, 4 боје (color_fg, color_delim, color_bg, color_bg_inactive) морају да се наведу у низу од 4 стринга (услед ограничења језика Ruby од 15 аргумената по функцији), за више информација погледајте link:++weechat_scripting.sr.html#_ruby++[WeeChat водич за скриптовање ^↗^,window=_blank]. ==== bar_set @@ -15221,7 +15231,7 @@ if (hashtable_in) ---- [NOTE] -Погледајте link:weechat_scripting.sr.html#irc_message_parse[WeeChat водич за скриптовање / Парсирање поруке] за више информација у вези излаза „irc_message_parse”. +Погледајте link:weechat_scripting.sr.html#irc_message_parse[WeeChat водич за скриптовање / Парсирање поруке ^↗^,window=_blank] за више информација у вези излаза „irc_message_parse”. Скрипта (Python): @@ -16822,7 +16832,7 @@ void *weechat_hdata_search (struct t_hdata *hdata, void *pointer, const char *se * _hdata_: показивач на hdata * _pointer_: показивач на објекат програма WeeChat/додатка -* _search_: израз који се израчунава, подразумевани показивач у изразу је име hdata (и овај показивач се мења за сваки елемент у листи); за помоћ у вези израза, погледајте link:weechat_user.sr.html#command_weechat_eval[WeeChat корисничко упутство / Команда /eval] +* _search_: израз који се израчунава, подразумевани показивач у изразу је име hdata (и овај показивач се мења за сваки елемент у листи); за помоћ у вези израза, погледајте link:weechat_user.sr.html#command_weechat_eval[WeeChat корисничко упутство / Команда /eval ^↗^,window=_blank] * _pointers_: хеш табела за позив функције <<_string_eval_expression,string_eval_expression>> * _extra_vars_: хеш табела за позив функције <<_string_eval_expression,string_eval_expression>> * _options_: хеш табела за позив функције <<_string_eval_expression,string_eval_expression>> -- cgit v1.2.3-59-g8ed1b