diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-12-04 15:08:56 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-12-04 15:08:56 +0100 |
commit | 351a7a493f6df8851f446c323b3a73298035586a (patch) | |
tree | 0823de1c2eab92e34b1a55c3c5131e78734a80e4 | |
parent | 768bceca36332f0b31526f5104cc028e4e691059 (diff) | |
download | weechat-351a7a493f6df8851f446c323b3a73298035586a.zip |
doc: add missing info in signal "xxx_script_install" (plugin API reference)
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 10 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 14 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 14 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 6 |
4 files changed, 28 insertions, 16 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 5be4ab370..f9f816fae 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -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. diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index c1e745cca..fa8ab4585 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -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. diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 9c72d35f4..f84d88c88 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -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. diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index f2556e4b7..2c5bc3bd6 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -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_ プラグインはスクリプトをインストールする際にこれらのシグナルを使っています。 |