From 4ea7fe26272a0b08c5de2f025e85210c6f86d141 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 25 Apr 2011 18:36:09 +0200 Subject: [PATCH] doc: fix typo in plugin API reference for function config_set_plugin --- doc/en/weechat_plugin_api.en.txt | 2 +- doc/fr/weechat_plugin_api.fr.txt | 2 +- doc/it/weechat_plugin_api.it.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 47c992bf5..a17887336 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -5517,7 +5517,7 @@ Script (Python): rc = weechat.config_set_plugin(option_name, value) # example -rc = weechat.config_is_set_plugin("option", "test_value") +rc = weechat.config_set_plugin("option", "test_value") if rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: # ... elif rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index b61898e14..96b7a3fa1 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -5575,7 +5575,7 @@ Script (Python) : rc = weechat.config_set_plugin(option_name, value) # exemple -rc = weechat.config_is_set_plugin("option", "valeur_test") +rc = weechat.config_set_plugin("option", "valeur_test") if rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: # ... elif rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 1322edef6..740bf89c4 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -5517,7 +5517,7 @@ Script (Python): rc = weechat.config_set_plugin(option_name, value) # esempio -rc = weechat.config_is_set_plugin("option", "test_value") +rc = weechat.config_set_plugin("option", "test_value") if rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: # ... elif rc == weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: