summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.adoc2
-rw-r--r--doc/sr/weechat_plugin_api.sr.adoc2
-rw-r--r--src/plugins/python/weechat.pyi2
6 files changed, 6 insertions, 6 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index a42ce5503..fed3e7d50 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -537,7 +537,7 @@ Script (Python):
[source,python]
----
# prototype
-def ngettext(string: str, plural: str, count) -> str: ...
+def ngettext(string: str, plural: str, count: int) -> str: ...
# example
num_files = 2
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 81d6b9ad6..b811404e4 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -547,7 +547,7 @@ Script (Python) :
[source,python]
----
# prototype
-def ngettext(string: str, plural: str, count) -> str: ...
+def ngettext(string: str, plural: str, count: int) -> str: ...
# exemple
num_files = 2
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 688d408bc..424ffb3df 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -568,7 +568,7 @@ Script (Python):
[source,python]
----
# prototipo
-def ngettext(string: str, plural: str, count) -> str: ...
+def ngettext(string: str, plural: str, count: int) -> str: ...
# esempio
num_files = 2
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index b18f938d1..e28389834 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -547,7 +547,7 @@ char *str = weechat_ngettext ("file", "files", num_files);
[source,python]
----
# プロトタイプ
-def ngettext(string: str, plural: str, count) -> str: ...
+def ngettext(string: str, plural: str, count: int) -> str: ...
# 例
num_files = 2
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc
index a6040fba4..d12d8e65d 100644
--- a/doc/sr/weechat_plugin_api.sr.adoc
+++ b/doc/sr/weechat_plugin_api.sr.adoc
@@ -511,7 +511,7 @@ char *str = weechat_ngettext ("file", "files", num_files);
[source, python]
----
# прототип
-def ngettext(string: str, plural: str, count) -> str: ...
+def ngettext(string: str, plural: str, count: int) -> str: ...
# пример
num_files = 2
diff --git a/src/plugins/python/weechat.pyi b/src/plugins/python/weechat.pyi
index 595a007c4..7374fefde 100644
--- a/src/plugins/python/weechat.pyi
+++ b/src/plugins/python/weechat.pyi
@@ -59,7 +59,7 @@ def gettext(string: str) -> str:
...
-def ngettext(string: str, plural: str, count) -> str:
+def ngettext(string: str, plural: str, count: int) -> str:
"""`ngettext in WeeChat plugin API reference <https://weechat.org/doc/api#_ngettext>`_"""
...