doc: add missing info in signal "xxx_script_install" (plugin API reference)
parent
768bceca36
commit
351a7a493f
|
@ -9150,10 +9150,12 @@ Five signals can be sent to install a script, according to language:
|
|||
|
||||
The callback will do following actions when receiving signal:
|
||||
|
||||
. unload and remove installed script
|
||||
. move new script to directory _~/.weechat/xxx/_ (where _xxx_ is language)
|
||||
. create link to new script in directory _~/.weechat/xxx/autoload/_
|
||||
. load new script
|
||||
. Unload and remove installed script.
|
||||
. Move new script to directory _~/.weechat/xxx/_ (where _xxx_ is language).
|
||||
. Create link to new script in directory _~/.weechat/xxx/autoload/_
|
||||
(only if the script was already auto-loaded, or if the option
|
||||
_script.scripts.autoload_ is enabled for a new script).
|
||||
. Load new script (if the script was loaded).
|
||||
|
||||
These signals are used by _script_ plugin to install scripts.
|
||||
|
||||
|
|
|
@ -9330,12 +9330,14 @@ Cinq signaux peuvent être envoyés pour installer un script, selon le langage
|
|||
La fonction de rappel effectuera les actions suivantes lorsqu'elle recevra le
|
||||
signal :
|
||||
|
||||
. déchargement et suppression du script installé
|
||||
. déplacement du nouveau script vers le répertoire _~/.weechat/xxx/_ (où _xxx_
|
||||
est le langage)
|
||||
. création d'un lien vers le nouveau script dans le répertoire
|
||||
_~/.weechat/xxx/autoload/_
|
||||
. chargement du nouveau script
|
||||
. Déchargement et suppression du script installé.
|
||||
. Déplacement du nouveau script vers le répertoire _~/.weechat/xxx/_ (où _xxx_
|
||||
est le langage).
|
||||
. Création d'un lien vers le nouveau script dans le répertoire
|
||||
_~/.weechat/xxx/autoload/_ (seulement si le script était déjà automatiquement
|
||||
chargé ou si l'option _script.scripts.autoload_ est activée pour un nouveau
|
||||
script).
|
||||
. Chargement du nouveau script (si le script était chargé).
|
||||
|
||||
Ces signaux sont utilisés par l'extension _script_ pour installer des scripts.
|
||||
|
||||
|
|
|
@ -9457,11 +9457,15 @@ del linguaggio:
|
|||
|
||||
La callback compirà le seguenti azioni alla ricezione del segnale:
|
||||
|
||||
. scarica e rimuove lo script installato
|
||||
. sposta il nuovo script nella cartella _~/.weechat/xxx/_ (dove _xxx_ è il
|
||||
linguaggio)
|
||||
. crea un link al nuovo script nella cartella _~/.weechat/xxx/autoload/_
|
||||
. carica il nuovo script
|
||||
. Scarica e rimuove lo script installato.
|
||||
. Sposta il nuovo script nella cartella _~/.weechat/xxx/_ (dove _xxx_ è il
|
||||
linguaggio).
|
||||
// TRANSLATION MISSING
|
||||
. Crea un link al nuovo script nella cartella _~/.weechat/xxx/autoload/_
|
||||
(only if the script was already auto-loaded, or if the option
|
||||
_script.scripts.autoload_ is enabled for a new script).
|
||||
// TRANSLATION MISSING
|
||||
. Carica il nuovo script (if the script was loaded).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
These signals are used by _script_ plugin to install scripts.
|
||||
|
|
|
@ -9166,8 +9166,12 @@ weechat.hook_signal_send("logger_backlog", weechat.WEECHAT_HOOK_SIGNAL_POINTER,
|
|||
|
||||
. インストール済みスクリプトをリロードして削除。
|
||||
. 新しいスクリプトをディレクトリ _~/.weechat/xxx/_ に移動 (_xxx_ はプログラミング言語)
|
||||
// TRANSLATION MISSING
|
||||
. 新しいスクリプトへのリンクをディレクトリ _~/.weechat/xxx/autoload/_ に作成
|
||||
. 新しいスクリプトを読み込む
|
||||
(only if the script was already auto-loaded, or if the option
|
||||
_script.scripts.autoload_ is enabled for a new script)
|
||||
// TRANSLATION MISSING
|
||||
. 新しいスクリプトを読み込む (if the script was loaded)
|
||||
|
||||
_script_ プラグインはスクリプトをインストールする際にこれらのシグナルを使っています。
|
||||
|
||||
|
|
Loading…
Reference in New Issue