1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

doc/scripting: add arrow and open external links in new tab

This commit is contained in:
Sébastien Helleu
2022-06-27 00:07:41 +02:00
parent c64bdeaed3
commit d4dc1467c9
7 changed files with 93 additions and 77 deletions
+14 -11
View File
@@ -17,8 +17,9 @@
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
Die aktuelle Version dieser Anleitung finden Sie auf:
https://weechat.org/doc/
// TRANSLATION MISSING
Latest version of this document can be found on
https://weechat.org/doc/[this page ^↗^,window=_blank].
[[introduction]]
@@ -67,7 +68,7 @@ Ein Skript darf *NIEMALS* einen fork nutzen oder einen eigenen Thread erstellen,
dafür gibt es explizit eine API Funktion, andernfalls kann WeeChat abstürzen. +
Wenn etwas in einem Hintergrundprozess ausgeführt werden soll, kann die Funktion
`+hook_process+` genutzt werden. Siehe Beispiele im Kapitel <<hook_process,Hintergrundprozesse>>
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank] (Englisch).
[[languages_specificities]]
=== Besonderheiten der einzelnen Skriptsprachen
@@ -81,7 +82,7 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
importiert werden muss. +
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
[[python_functions]]
===== Funktionen
@@ -119,7 +120,7 @@ Liste ist nicht vollständig):
Es wird empfohlen den Modifier `+irc_in2_yyy+` zu nutzen, da die empfangene Zeichenkette
immer UTF-8 gültig ist. +
siehe Funktion `+hook_modifier+` in der
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung].
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -134,7 +135,7 @@ Liste ist nicht vollständig):
Es wird empfohlen das Signal `+xxx,irc_out1_yyy+` zu nutzen, da die empfangene Zeichenkette
immer UTF-8 gültig ist. +
siehe Funktion `+hook_signal+` in der
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung].
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -390,7 +391,7 @@ ein Link in das entsprechende _autoload_ Verzeichnis erzeugt.
Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
Um einen Überblick über alle API Funktionen (Prototyp, Argumente,
Rückgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
Es ist wichtig das man zwischen einer _Erweiterung_ und einem _Skript_
unterscheidet: Eine _Erweiterung_ ist eine Binärdatei die kompiliert wurde
und mittels `/plugin` geladen wird. Ein _Skript_ ist eine Textdatei welche
@@ -559,7 +560,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
== Skript API
Um weiterführende Informationen zu den API Funktionen zu erhalten
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
[[script_api_functions]]
=== Funktionen
@@ -881,7 +882,7 @@ Liste der Konstanten in Skript API:
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
Übersicht aller Befehle zu erhalten nutzen Sie bitte die
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
[[buffers]]
=== Buffer
@@ -1158,7 +1159,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
Alle Informationen die WeeChat betreffen findet man auf: https://weechat.org/dev/info/
// TRANSLATION MISSING
All infos available about WeeChat are on
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
@@ -1177,7 +1180,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
Für weitere Informationen zum URL Transfer und verfügbare Optionen, siehe Funktionen
`+hook_process+` und `+hook_process_hashtable+` in
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank] (Englisch).
[[config_options]]
=== Konfiguration / Optionen
+12 -11
View File
@@ -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]]
@@ -61,7 +61,7 @@ function, this can crash WeeChat. +
If something must be run in background, the function `+hook_process+` can be used.
See example in the chapter <<hook_process,Run a background process>>
and the documentation on the function `+hook_process+` in the
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
[[languages_specificities]]
=== Languages specificities
@@ -74,7 +74,7 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
A Python stub for WeeChat API is available in the repository:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
[[python_functions]]
===== Functions
@@ -109,7 +109,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
is always UTF-8 valid. +
See function `+hook_modifier+` in the
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference].
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -124,7 +124,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
is always UTF-8 valid. +
See function `+hook_signal+` in the
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference].
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -376,7 +376,7 @@ directory is automatically created.
== Differences with C API
Script API is almost the same as C plugin API.
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference]
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank]
for detail about each function in API: prototype, arguments, return values, examples.
It's important to make difference between a _plugin_ and a _script_: a
@@ -543,7 +543,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
== Script API
For more information about functions in API, please read the
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
[[script_api_functions]]
=== Functions
@@ -864,7 +864,7 @@ List of constants in script API:
This chapter shows some common tasks, with examples.
Only partial things in API are used here, for full reference, see the
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
[[buffers]]
=== Buffers
@@ -1133,7 +1133,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
All infos available about WeeChat are on page https://weechat.org/dev/info/
All infos available about WeeChat are on
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
Example of URL transfer with an option: download latest WeeChat development
package in file _/tmp/weechat-devel.tar.gz_:
@@ -1152,7 +1153,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
For more information about URL transfer and available options, see functions
`+hook_process+` and `+hook_process_hashtable+` in
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
[[config_options]]
=== Config / options
+12 -12
View File
@@ -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]]
@@ -67,7 +67,7 @@ Si quelque chose doit être lancé en arrière-plan, la fonction `+hook_process+
peut être utilisée. Voir l'exemple dans le chapitre
<<hook_process,Lancer un processus en tâche de fond>> et la documentation sur
la fonction `+hook_process+` dans la
link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat].
link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat ^↗^,window=_blank].
[[languages_specificities]]
=== Spécificités des langages
@@ -80,7 +80,7 @@ link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat]
WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. +
Un "stub" Python pour l'API WeeChat est disponible dans le dépôt :
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
[[python_functions]]
===== Fonctions
@@ -116,7 +116,7 @@ pas exhaustive) :
Il est recommandé d'utiliser plutôt le modificateur `+irc_in2_yyy+`, la chaîne
reçue sera toujours valide UTF-8. +
Voir la fonction `+hook_modifier+` dans la
link:weechat_plugin_api.fr.html#_hook_modifier[Référence API extension WeeChat].
link:weechat_plugin_api.fr.html#_hook_modifier[Référence API extension WeeChat ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -132,7 +132,7 @@ pas exhaustive) :
Il est recommandé d'utiliser plutôt le signal `+xxx,irc_out1_yyy+`, la chaîne
reçue sera toujours valide UTF-8. +
Voir la fonction `+hook_signal+` dans la
link:weechat_plugin_api.fr.html#_hook_signal[Référence API extension WeeChat].
link:weechat_plugin_api.fr.html#_hook_signal[Référence API extension WeeChat ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -389,7 +389,7 @@ dans le répertoire _autoload_ est automatiquement créé.
== Différences avec l'API C
L'API script est quasiment identique à l'API C.
Vous pouvez consulter la link:weechat_plugin_api.fr.html[Référence API extension WeeChat]
Vous pouvez consulter la link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^,window=_blank]
pour le détail de chaque fonction de l'API : prototype, paramètres, valeurs
de retour, exemples.
@@ -563,7 +563,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
== API script
Pour plus d'informations sur les fonctions de l'API, merci de consulter la
link:weechat_plugin_api.fr.html[Référence API extension WeeChat].
link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^,window=_blank].
[[script_api_functions]]
=== Fonctions
@@ -885,7 +885,7 @@ Liste des constantes de l'API script :
Ce chapitre montre quelques tâches courantes, avec des exemples.
Seule une partie de l'API est utilisée ici, pour une référence complète, voir la
link:weechat_plugin_api.fr.html[Référence API extension WeeChat].
link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^,window=_blank].
[[buffers]]
=== Tampons
@@ -1163,8 +1163,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
Toutes les infos disponibles à propos de WeeChat sont sur la page
https://weechat.org/dev/info/
Toutes les infos disponibles à propos de WeeChat sont sur
https://weechat.org/dev/info/[cette page ^↗^,window=_blank].
Exemple de transfert d'URL avec une option : télécharger le dernier paquet de
développement WeeChat dans le fichier _/tmp/weechat-devel.tar.gz_ :
@@ -1183,7 +1183,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
Pour plus d'information sur le transfert d'URL et les options disponibles, voir
les fonctions `+hook_process+` et `+hook_process_hashtable+` dans la
link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat].
link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat ^↗^,window=_blank].
[[config_options]]
=== Config / options
+14 -12
View File
@@ -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]]
@@ -70,7 +71,7 @@ function, this can crash WeeChat. +
If something must be run in background, the function `+hook_process+` can be used.
See example in the chapter <<hook_process,Eseguire un processo in background>>
and the documentation on the function `+hook_process+` in the
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
[[languages_specificities]]
=== Specifiche per i linguaggi
@@ -84,7 +85,7 @@ link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
A Python stub for WeeChat API is available in the repository:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
// TRANSLATION MISSING
[[python_functions]]
@@ -121,7 +122,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
is always UTF-8 valid. +
See function `+hook_modifier+` in the
link:weechat_plugin_api.it.html#_hook_modifier[WeeChat plugin API reference].
link:weechat_plugin_api.it.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -136,7 +137,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
is always UTF-8 valid. +
See function `+hook_signal+` in the
link:weechat_plugin_api.it.html#_hook_signal[WeeChat plugin API reference].
link:weechat_plugin_api.it.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -398,7 +399,7 @@ directory _autoload_ viene creato automaticamente'.
// TRANSLATION MISSING
Script API is almost the same as C plugin API.
You can look at link:weechat_plugin_api.it.html[WeeChat plugin API reference]
You can look at link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^,window=_blank]
for detail about each function in API: prototype, arguments, return values, examples.
È importante fare la differenza tra un _plugin_ ed uno _script_:
@@ -572,7 +573,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
// TRANSLATION MISSING
For more information about functions in API, please read the
link:weechat_plugin_api.it.html[WeeChat plugin API reference].
link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^,window=_blank].
[[script_api_functions]]
=== Funzioni
@@ -906,7 +907,7 @@ Elenco di costanti nelle API per gli script:
// TRANSLATION MISSING
This chapter shows some common tasks, with examples.
Only partial things in API are used here, for full reference, see the
link:weechat_plugin_api.it.html[WeeChat plugin API reference].
link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^,window=_blank].
[[buffers]]
=== Buffer
@@ -1185,8 +1186,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
Tutte le informazioni disponibili su WeeChat sono sulla pagina
https://weechat.org/dev/info/
// TRANSLATION MISSING
All infos available about WeeChat are on
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
Esempio di trasferimento di un URL con un'opzione: scaricare l'ultimo pacchetto
di sviluppo di WeeChat nel file _/tmp/weechat-devel.tar.gz_:
@@ -1206,7 +1208,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
// TRANSLATION MISSING
For more information about URL transfer and available options, see functions
`+hook_process+` and `+hook_process_hashtable+` in
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
[[config_options]]
=== Configurazione / opzioni
+14 -11
View File
@@ -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]]
@@ -66,7 +67,7 @@ WeeChat がクラッシュするため、スクリプトで fork したりスレ
されています。これが必要な場合には専用 API 関数を使ってください。 +
どうしてもバックグラウンド実行を避けられない場合には `+hook_process+`
関数を使ってください。<<hook_process,バックグラウンドプロセスの実行>>の例および
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス]内の
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス ^↗^,window=_blank]内の
`+hook_process+` 関数の文書を参照してください。
[[languages_specificities]]
@@ -81,7 +82,7 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
A Python stub for WeeChat API is available in the repository:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
// TRANSLATION MISSING
[[python_functions]]
@@ -118,7 +119,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
is always UTF-8 valid. +
See function `+hook_modifier+` in the
link:weechat_plugin_api.ja.html#_hook_modifier[WeeChat plugin API reference].
link:weechat_plugin_api.ja.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -133,7 +134,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
is always UTF-8 valid. +
See function `+hook_signal+` in the
link:weechat_plugin_api.ja.html#_hook_signal[WeeChat plugin API reference].
link:weechat_plugin_api.ja.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -396,7 +397,7 @@ $ ln -s ../script.py
スクリプト API は C 言語プラグイン API とほぼ同じです。API
に含まれる各関数の詳細 (プロトタイプ、引数、戻り値、例) については
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
_プラグイン_ と _スクリプト_ の違いを理解することは重要です:
_プラグイン_ とはコンパイル済みバイナリファイルで `/plugin` コマンドを使ってロードします、これに対して
@@ -565,7 +566,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
== スクリプト API
API に含まれる関数の詳しい情報は
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
[[script_api_functions]]
=== 関数
@@ -894,7 +895,7 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
この章ではいくつかの良くあるタスクを例を交えて紹介します。ここでは
API の一部の機能を使っています。完全なリファレンスは
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
[[buffers]]
=== バッファ
@@ -1165,7 +1166,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
WeeChat に関して利用できる情報は全て https://weechat.org/dev/info/ にあります
// TRANSLATION MISSING
All infos available about WeeChat are on
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
オプション有りの URL 転送の例: 最新の WeeChat 開発パッケージをファイル
_/tmp/weechat-devel.tar.gz_ にダウンロード:
@@ -1183,7 +1186,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
----
URL 転送に関するより詳しい情報と利用可能なオプションは
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス]の
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス ^↗^,window=_blank]の
`+hook_process+` と `+hook_process_hashtable+` を参照してください。
[[config_options]]
+14 -11
View File
@@ -17,8 +17,9 @@ Tłumaczenie:
Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat.
Najnowsza wersja tego dokumentu znajduje się na tej stronie:
https://weechat.org/doc/
// TRANSLATION MISSING
Latest version of this document can be found on
https://weechat.org/doc/[this page ^↗^,window=_blank].
[[introduction]]
@@ -67,7 +68,7 @@ funkcji API, może to prowadzić to awarii WeeChat. +
Jeśli coś musi zostać wykonane w tle, można użyć funkcji `+hook_process+`.
Zobacz przykład w rozdziale <<hook_process,Wykonanie procesu w tle>> oraz
dokumentację do funkcji `+hook_process+` w
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angielski).
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
[[languages_specificities]]
=== Specyfika języków
@@ -80,7 +81,7 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angiel
WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`. +
Szkielet API WeeChat dla języka Python dostępny jest w repozytorium:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
[[python_functions]]
===== Funkcje
@@ -114,7 +115,7 @@ dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pe
Zalecane jest używanie w zamian modyfikatora `+irc_in2_yyy+`, otrzymany ciąg
jest zawsze poprawnym UTF-8. +
Zobacz funkcję `+hook_modifier+` w
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -129,7 +130,7 @@ dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pe
Zaleca się użycie w zamian sygnału `+xxx,irc_out1_yyy+`,otrzymany ciąg jest
zawsze poprawnym UTF-8. +
Zobacz funkcję `+hook_signal+` w
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -382,7 +383,7 @@ dowiązanie w katalogu _autoload_.
== Różnice pomiędzy API dla C
API skryptów jest prawie takie same jak API dla wtyczek pisanych w C.
Możesz zajrzeć do link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski)
Możesz zajrzeć do link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski)
po więcej informacji na temat każdej z funkcji API: prototyp, argumenty,
zwracane wartości, przykłady.
@@ -549,7 +550,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
== API skryptów
Więcej informacji o funkcjach w API, znajdziesz w
link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski).
link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
[[script_api_functions]]
=== Fukcje
@@ -870,7 +871,7 @@ Lista stałych w API skryptów:
Ten rozdział przedstawia część częstych zadań z przykładami.
Użyto tu tylko część rzeczy dostępnych w API, dokładne informacje można znaleźć
w link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski).
w link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
[[buffers]]
=== Bufory
@@ -1141,7 +1142,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
Wszystkie informacje o WeeChat dostępne są na stronie https://weechat.org/dev/info/
// TRANSLATION MISSING
All infos available about WeeChat are on
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
Przykładowy transfer URL z opcją: pobranie najnowszej wersji rozwojowej WeeChat
do pliku _/tmp/weechat-devel.tar.gz_:
@@ -1160,7 +1163,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
Więcej informacji o transferach URL i dostępnych opcjach dla funkcji
`+hook_process+` oraz `+hook_process_hashtable+` można znaleźć w
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angielski).
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
[[config_options]]
=== Konfiguracja / opcje
+13 -9
View File
@@ -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]]
@@ -55,7 +57,7 @@ Almost all examples in this doc are written in Python, but API is the same for o
[IMPORTANT]
Скрипта *НИКАДА* не сме да се рачва или да креира нити без употребе одговарајуће API функције, то може да сруши програм WeeChat. +
Ако нешто мора да се извршава у позадини, употребите функцију `+hook_process+`. Погледајте пример у поглављу <<hook_process,Покретање процеса у позадини>> као и документацију функције `+hook_process+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтном приручнику API додатака].
Ако нешто мора да се извршава у позадини, употребите функцију `+hook_process+`. Погледајте пример у поглављу <<hook_process,Покретање процеса у позадини>> као и документацију функције `+hook_process+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтном приручнику API додатака ^↗^,window=_blank].
[[languages_specificities]]
=== Језичке специфичности
@@ -67,7 +69,7 @@ Almost all examples in this doc are written in Python, but API is the same for o
===== Модул
Програм WeeChat дефинише `weechat` модул који мора да се увезе командом `import weechat`. +
Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
[[python_functions]]
===== Функције
@@ -97,7 +99,7 @@ Python стаб за WeeChat API је соступан у репозиториј
Препоручује се да се уместо ње користи модификатор `+irc_in2_yyy+`, примљени
стринг је увек валидан UTF-8. +
Погледајте функцију `+hook_modifier+` у
link:weechat_plugin_api.sr.html#_hook_modifier[WeeChat референтном приручнику API додатака].
link:weechat_plugin_api.sr.html#_hook_modifier[WeeChat референтном приручнику API додатака ^↗^,window=_blank].
| hook_signal
| xxx,irc_out_yyy +
@@ -112,7 +114,7 @@ Python стаб за WeeChat API је соступан у репозиториј
Препоручује се да се уместо њега користи сигнал `+xxx,irc_out1_yyy+`, стринг који
се прима је увек валидан UTF-8. +
Погледајте функцију `+hook_signal+` у
link:weechat_plugin_api.sr.html#_hook_signal[WeeChat референтном приручнику API додатака].
link:weechat_plugin_api.sr.html#_hook_signal[WeeChat референтном приручнику API додатака ^↗^,window=_blank].
| hook_process +
hook_process_hashtable
@@ -501,7 +503,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
[[script_api]]
== API скриптовања
За више информација о функцијама које постоје у API, молимо вас да прочитате link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака].
За више информација о функцијама које постоје у API, молимо вас да прочитате link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака ^↗^,window=_blank].
[[script_api_functions]]
=== Функције
@@ -820,7 +822,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
[[common_tasks]]
== Уобичајени задаци
Ово поглавље приказује неке уобичајене задатке, уз примере. Овде се користе само делимичне ствари из API, за потпуно упутство, погледајте link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака].
Ово поглавље приказује неке уобичајене задатке, уз примере. Овде се користе само делимичне ствари из API, за потпуно упутство, погледајте link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака ^↗^,window=_blank].
[[buffers]]
=== Бафери
@@ -1080,7 +1082,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
----
[TIP]
Све доступне информације у вези програма WeeChat се налазе на страници https://weechat.org/dev/info/
// TRANSLATION MISSING
All infos available about WeeChat are on
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
Пример URL преноса са опцијом: преузимање најновијег WeeChat развојног пакета у фајл _/tmp/weechat-devel.tar.gz_:
@@ -1096,7 +1100,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
30 * 1000, "my_process_cb", "")
----
За више информација у вези URL преноса, као и за доступне опције, погледајте функције `+hook_process+` и `+hook_process_hashtable+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтни приручник API додатака].
За више информација у вези URL преноса, као и за доступне опције, погледајте функције `+hook_process+` и `+hook_process_hashtable+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтни приручник API додатака ^↗^,window=_blank].
[[config_options]]
=== Конфигурација / опције