diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 8 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 8 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 8 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index bd3340cb8..85fd6ea5e 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -17282,13 +17282,13 @@ Arguments: * _hashtable_: variables to update: keys are name of variables, values are new values for variables (keys and values are string), some special keys are allowed: -** key `__create_allowed` (with any value): return 1 if create is allowed for +** key `+__create_allowed+` (with any value): return 1 if create is allowed for structure, otherwise 0 _(WeeChat ≥ 0.4.0)_ -** key `__delete_allowed` (with any value): return 1 if delete is allowed for +** key `+__delete_allowed+` (with any value): return 1 if delete is allowed for structure, otherwise 0 -** key `__update_allowed`, value is name of a variable: return 1 if update is +** key `+__update_allowed+`, value is name of a variable: return 1 if update is allowed for this variable, otherwise 0 -** key `__delete` (with any value): delete structure (if allowed) +** key `+__delete+` (with any value): delete structure (if allowed) Return value: diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 82d85de50..554ff1b94 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -17645,14 +17645,14 @@ Paramètres : variables, les valeurs sont les nouvelles valeurs pour les variables (clés et valeurs sont des chaînes de caractères), quelques clés spéciales sont acceptées : -** clé `__create_allowed` (avec n'importe quelle valeur) : retourne 1 si la +** clé `+__create_allowed+` (avec n'importe quelle valeur) : retourne 1 si la création est autorisée pour la structure, sinon 0 _(WeeChat ≥ 0.4.0)_ -** clé `__delete_allowed` (avec n'importe quelle valeur) : retourne 1 si la +** clé `+__delete_allowed+` (avec n'importe quelle valeur) : retourne 1 si la suppression est autorisée pour la structure, sinon 0 -** clé `__update_allowed`, la valeur est le nom d'une variable : retourne 1 si +** clé `+__update_allowed+`, la valeur est le nom d'une variable : retourne 1 si la mise à jour est autorisée pour la variable, sinon 0 -** clé `__delete` (avec n'importe quelle valeur) : supprime la structure +** clé `+__delete+` (avec n'importe quelle valeur) : supprime la structure (si autorisé) Valeur de retour : diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 04ca09275..3e1d4b0ee 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -17960,13 +17960,13 @@ Argomenti: values for variables (keys and values are string), some special keys are allowed: // TRANSLATION MISSING -** key `__create_allowed` (with any value): return 1 if create is allowed for +** key `+__create_allowed+` (with any value): return 1 if create is allowed for structure, otherwise 0 _(WeeChat ≥ 0.4.0)_ -** key `__delete_allowed` (with any value): return 1 if delete is allowed for +** key `+__delete_allowed+` (with any value): return 1 if delete is allowed for structure, otherwise 0 -** key `__update_allowed`, value is name of a variable: return 1 if update is +** key `+__update_allowed+`, value is name of a variable: return 1 if update is allowed for this variable, otherwise 0 -** key `__delete` (with any value): delete structure (if allowed) +** key `+__delete+` (with any value): delete structure (if allowed) Valore restituito: diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 8dcc8db84..d015f588a 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -17264,13 +17264,13 @@ int weechat_hdata_update (struct t_hdata *hdata, void *pointer, struct t_hashtab * _hashtable_: 更新する変数: キーは変数の名前、値は変数の新しい値 (キーと値は文字列)、以下の特別なキーを使うことができます: -** キー `__create_allowed` (値は任意): 構造体の作製を許可する場合は +** キー `+__create_allowed+` (値は任意): 構造体の作製を許可する場合は 1、許可しない場合は 0 を返す _(WeeChat バージョン 0.4.0 以上で利用可)_ -** キー `__delete_allowed` (値は任意): 構造体の削除を許可する場合は +** キー `+__delete_allowed+` (値は任意): 構造体の削除を許可する場合は 1、許可しない場合は 0 を返す -** キー `__update_allowed`、値は変数の名前: この変数の更新を許可する場合は +** キー `+__update_allowed+`、値は変数の名前: この変数の更新を許可する場合は 1、許可しない場合は 0 を返す -** キー `__delete` (値は任意): 構造体を削除 (許可されている場合) +** キー `+__delete+` (値は任意): 構造体を削除 (許可されている場合) 戻り値: |