summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-04-07 15:19:13 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-04-07 15:19:13 +0200
commit64738bcee90a1f3dbf443a87847c71548b165986 (patch)
treef3518296a4fba3f014053d84f5ea39f2599c0a48
parent6de98179bc87df4f2da38e36d64a03a1c0f9f623 (diff)
downloadweechat-64738bcee90a1f3dbf443a87847c71548b165986.zip
doc: add version 2.2 in Python example for function string_format_size (plugin API reference)
-rw-r--r--doc/en/weechat_plugin_api.en.adoc2
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc2
-rw-r--r--doc/it/weechat_plugin_api.it.adoc2
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc3
4 files changed, 5 insertions, 4 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index ebf33d451..f4bc3635c 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -1718,7 +1718,7 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 MB" */
free (str);
----
-Script (Python):
+Script (Python), _WeeChat ≥ 2.2_:
[source,python]
----
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index b19787f7c..7f890849b 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -1751,7 +1751,7 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 Mo" */
free (str);
----
-Script (Python) :
+Script (Python), _WeeChat ≥ 2.2_ :
[source,python]
----
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 08ecdba13..c547dcd2d 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -1790,7 +1790,7 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 MB" */
free (str);
----
-Script (Python):
+Script (Python), _WeeChat ≥ 2.2_:
[source,python]
----
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index 875a0a14a..e351f219c 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -1724,7 +1724,8 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 MB" */
free (str);
----
-スクリプト (Python) での使用例:
+// TRANSLATION MISSING
+Script (Python), _WeeChat ≥ 2.2_:
[source,python]
----