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]]