doc: add links to other docs in scripting guide
parent
557beb47b5
commit
7a1511001e
|
@ -231,7 +231,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 _WeeChat Plugin API Reference_.
|
||||
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (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
|
||||
|
@ -388,7 +388,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 _WeeChat Plugin API Reference_.
|
||||
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funktionen
|
||||
|
@ -697,7 +697,8 @@ 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 _WeeChat Plugin API Reference_.
|
||||
Übersicht aller Befehle zu erhalten nutzen Sie bitte die
|
||||
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
|
@ -965,8 +966,10 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
|||
30 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
Für weiterführende Informationen zum URL Transfer und für die verfügbaren Optionen,
|
||||
siehe `hook_process` und `hook_process_hashtable` in der API Erweiterung Anleitung.
|
||||
// TRANSLATION MISSING
|
||||
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] (Englisch).
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguration / Optionen
|
||||
|
|
|
@ -221,8 +221,8 @@ directory is automatically created.
|
|||
== Differences with C API
|
||||
|
||||
Script API is almost the same as C plugin API.
|
||||
You can look at _WeeChat Plugin API Reference_ for detail about each function
|
||||
in API: prototype, arguments, return values, examples.
|
||||
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference]
|
||||
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
|
||||
_plugin_ is a binary file compiled and loaded with command `/plugin`, whereas
|
||||
|
@ -374,8 +374,8 @@ weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
|||
[[script_api]]
|
||||
== Script API
|
||||
|
||||
For more information about functions in API, please read
|
||||
_WeeChat Plugin API Reference_.
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Functions
|
||||
|
@ -683,8 +683,8 @@ List of constants in script API:
|
|||
== Common tasks
|
||||
|
||||
This chapter shows some common tasks, with examples.
|
||||
Only partial things in API are used here, for full reference, see
|
||||
_WeeChat Plugin API Reference_.
|
||||
Only partial things in API are used here, for full reference, see the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
|
||||
[[buffers]]
|
||||
=== Buffers
|
||||
|
@ -945,7 +945,8 @@ 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 _WeeChat Plugin API Reference_.
|
||||
`hook_process` and `hook_process_hashtable` in
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
|
|
|
@ -226,8 +226,9 @@ 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 _Référence API Extension WeeChat_ pour le détail de
|
||||
chaque fonction de l'API : prototype, paramètres, valeurs de retour, exemples.
|
||||
Vous pouvez consulter la link:weechat_plugin_api.fr.html[Référence API extension WeeChat]
|
||||
pour le détail de chaque fonction de l'API : prototype, paramètres, valeurs
|
||||
de retour, exemples.
|
||||
|
||||
Il est important de bien faire la différence entre une _extension_ et un
|
||||
_script_ : une _extension_ est un fichier binaire compilé et chargé avec la
|
||||
|
@ -386,7 +387,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
|
||||
_Référence API Extension WeeChat_.
|
||||
link:weechat_plugin_api.fr.html[Référence API extension WeeChat].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Fonctions
|
||||
|
@ -696,7 +697,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
|
||||
_Référence API Extension WeeChat_.
|
||||
link:weechat_plugin_api.fr.html[Référence API extension WeeChat].
|
||||
|
||||
[[buffers]]
|
||||
=== Tampons
|
||||
|
@ -967,7 +968,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
|
||||
_Référence API Extension WeeChat_.
|
||||
link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat].
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
|
|
|
@ -229,9 +229,10 @@ directory _autoload_ viene creato automaticamente'.
|
|||
[[differences_with_c_api]]
|
||||
== Differenze con le API in C
|
||||
|
||||
Le API per gli script sono quasi identiche di quelle per i plugin C.
|
||||
È possibile consultare _*_ per i dettagli su ogni funzione nelle API:
|
||||
prototipo, argomenti, valori restituiti, esempi.
|
||||
// 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]
|
||||
for detail about each function in API: prototype, arguments, return values, examples.
|
||||
|
||||
È importante fare la differenza tra un _plugin_ ed uno _script_:
|
||||
un plugin è un file binario compilato e caricato con il comando
|
||||
|
@ -389,8 +390,9 @@ weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
|||
[[script_api]]
|
||||
== Script API
|
||||
|
||||
Per maggiori informazioni sulle funzioni nelle API,
|
||||
consultare _Referenze API per Plugin di WeeChat_.
|
||||
// TRANSLATION MISSING
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.it.html[WeeChat plugin API reference].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funzioni
|
||||
|
@ -700,10 +702,10 @@ Elenco di costanti nelle API per gli script:
|
|||
[[common_tasks]]
|
||||
== Compiti comuni
|
||||
|
||||
Questo capitolo spiega alcuni compiti comuni, con degli esempi.
|
||||
Verranno utilizzati soltanto degli elementi parziali contenuti
|
||||
nelle API, per un riferimento completo consultare
|
||||
_Referenze API per Plugin di WeeChat_.
|
||||
// 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].
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
|
@ -971,9 +973,10 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
|||
30 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
Per maggiori informazioni sul trasferimento degli URL e le opzioni disponibili,
|
||||
consultare le funzioni `hook_process` e `hook_process_hashtable` in
|
||||
_Referenze API per Plugin_.
|
||||
// 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].
|
||||
|
||||
[[config_options]]
|
||||
=== Configurazione / opzioni
|
||||
|
|
|
@ -226,9 +226,10 @@ $ ln -s ../script.py
|
|||
[[differences_with_c_api]]
|
||||
== C API との違い
|
||||
|
||||
スクリプト API は C 言語プラグイン API とほぼ同じです。API
|
||||
に含まれる各関数の詳細については、_WeeChat プラグイン API リファレンス_
|
||||
をご覧ください: プロトタイプ、引数、戻り値、例。
|
||||
// TRANSLATION MISSING
|
||||
Script API is almost the same as C plugin API.
|
||||
You can look at link:weechat_plugin_api.ja.html[WeeChat plugin API reference]
|
||||
for detail about each function in API: prototype, arguments, return values, examples.
|
||||
|
||||
_プラグイン_ と _スクリプト_ の違いを理解することは重要です:
|
||||
_プラグイン_ とはコンパイル済みバイナリファイルで `/plugin` コマンドを使ってロードします、これに対して
|
||||
|
@ -382,8 +383,9 @@ weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
|||
[[script_api]]
|
||||
== スクリプト API
|
||||
|
||||
API に含まれる関数の詳しい情報は
|
||||
_WeeChat プラグイン API リファレンス_ をご覧ください。
|
||||
// TRANSLATION MISSING
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.ja.html[WeeChat plugin API reference].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== 関数
|
||||
|
@ -690,9 +692,10 @@ _WeeChat プラグイン API リファレンス_ をご覧ください。
|
|||
[[common_tasks]]
|
||||
== 良くあるタスク
|
||||
|
||||
この章ではいくつかの良くあるタスクを例を交えて紹介します。ここでは
|
||||
API の一部の機能を使っています。完全なリファレンスは
|
||||
_WeeChat プラグイン API リファレンス_ をご覧ください。
|
||||
// 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.ja.html[WeeChat plugin API reference].
|
||||
|
||||
[[buffers]]
|
||||
=== バッファ
|
||||
|
@ -952,8 +955,10 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
|||
30 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
URL 転送に関するより詳しい情報と利用可能なオプションを見るには、
|
||||
_WeeChat プラグイン API リファレンス_ の `hook_process` と `hook_process_hashtable` をご覧ください。
|
||||
// TRANSLATION MISSING
|
||||
For more information about URL transfer and available options, see functions
|
||||
`hook_process` and `hook_process_hashtable` in
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat plugin API reference].
|
||||
|
||||
[[config_options]]
|
||||
=== 設定 / オプション
|
||||
|
|
|
@ -227,8 +227,9 @@ 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 _Opisu API wtyczek WeeChat_ po więcej informacji na temat
|
||||
każdej z funkcji API: prototyp, argumenty, zwracane wartości, przykłady.
|
||||
Możesz zajrzeć do link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski)
|
||||
po więcej informacji na temat każdej z funkcji API: prototyp, argumenty,
|
||||
zwracane wartości, przykłady.
|
||||
|
||||
Ważne jest rozróżnienie _wtyczki_ od _skryptu_: _wtyczka_ jest plikiem binarnym
|
||||
skompilowanym i załadowanym za pomocą komendy `/plugin`, natomiast _skrypt_ jest
|
||||
|
@ -379,7 +380,8 @@ weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
|||
[[script_api]]
|
||||
== API skryptów
|
||||
|
||||
Więcej informacji o funkcjach w API, znajdziesz w _Opisie API wtyczek WeeChat_.
|
||||
Więcej informacji o funkcjach w API, znajdziesz w
|
||||
link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski).
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Fukcje
|
||||
|
@ -688,7 +690,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 _Opisie API wtyczek WeeChat_.
|
||||
w link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski).
|
||||
|
||||
[[buffers]]
|
||||
=== Bufory
|
||||
|
@ -949,7 +951,8 @@ 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 _Opisie API wtyczek_.
|
||||
`hook_process` oraz `hook_process_hashtable` można znaleźć w
|
||||
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angielski).
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguracja / opcje
|
||||
|
|
Loading…
Reference in New Issue