summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-07-23 19:39:39 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-07-23 19:39:39 +0200
commitea76cdb06ea045dafbe91bfde1669e2287f8e8bd (patch)
tree285e33a2570af2afcdb6858aa9a4ae74f4079718
parentc14b1b5fae241e19bfc505dcb427ca88b8d5554d (diff)
downloadweechat-ea76cdb06ea045dafbe91bfde1669e2287f8e8bd.zip
doc: fix typo in example for function string_eval_expression (plugin API reference)
-rw-r--r--doc/en/weechat_plugin_api.en.txt6
-rw-r--r--doc/fr/weechat_plugin_api.fr.txt6
-rw-r--r--doc/it/weechat_plugin_api.it.txt6
3 files changed, 9 insertions, 9 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 05c91ed3f..d25e38c96 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -1702,9 +1702,9 @@ Script (Python):
str = weechat.string_eval_expression(expr, pointers, extra_vars)
# examples
-str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
-str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
-str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
+str1 = weechat.string_eval_expression("${buffer.full_name}", {}, {}) # "core.weechat"
+str2 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}) # "1"
+str3 = weechat.string_eval_expression("abc =~ def", {}, {}) # "0"
----------------------------------------
[[utf-8]]
diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt
index 08db238fe..70f5d328a 100644
--- a/doc/fr/weechat_plugin_api.fr.txt
+++ b/doc/fr/weechat_plugin_api.fr.txt
@@ -1727,9 +1727,9 @@ Script (Python) :
str = weechat.string_eval_expression(expr, pointers, extra_vars)
# exemples
-str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
-str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
-str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
+str1 = weechat.string_eval_expression("${buffer.full_name}", {}, {}) # "core.weechat"
+str2 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}) # "1"
+str3 = weechat.string_eval_expression("abc =~ def", {}, {}) # "0"
----------------------------------------
[[utf-8]]
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index 202716cb6..cf5bd9fb2 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -1686,9 +1686,9 @@ Script (Python):
str = weechat.string_eval_expression(expr, pointers, extra_vars)
# esempi
-str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
-str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
-str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
+str1 = weechat.string_eval_expression("${buffer.full_name}", {}, {}) # "core.weechat"
+str2 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}) # "1"
+str3 = weechat.string_eval_expression("abc =~ def", {}, {}) # "0"
----------------------------------------
[[utf-8]]