summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-02-25 19:06:47 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-02-25 19:06:47 +0100
commit3d587ad37d8c0b93b289f2276a2ee2235e3dfbe5 (patch)
tree7c6e5a444e7a2d5a49fb3782d96c88daa7712ede /doc
parent5725c8561ccdd55f0ce466b1ec208047f9c98519 (diff)
downloadweechat-3d587ad37d8c0b93b289f2276a2ee2235e3dfbe5.zip
core: add info_hashtable "secured_data"
Diffstat (limited to 'doc')
-rw-r--r--doc/de/includes/autogen_api_infos_hashtable.de.adoc2
-rw-r--r--doc/docgen.py4
-rw-r--r--doc/en/includes/autogen_api_infos_hashtable.en.adoc2
-rw-r--r--doc/fr/includes/autogen_api_infos_hashtable.fr.adoc2
-rw-r--r--doc/it/includes/autogen_api_infos_hashtable.it.adoc2
-rw-r--r--doc/ja/includes/autogen_api_infos_hashtable.ja.adoc2
-rw-r--r--doc/pl/includes/autogen_api_infos_hashtable.pl.adoc2
7 files changed, 14 insertions, 2 deletions
diff --git a/doc/de/includes/autogen_api_infos_hashtable.de.adoc b/doc/de/includes/autogen_api_infos_hashtable.de.adoc
index 7cf5ad440..520192e64 100644
--- a/doc/de/includes/autogen_api_infos_hashtable.de.adoc
+++ b/doc/de/includes/autogen_api_infos_hashtable.de.adoc
@@ -14,5 +14,7 @@
| weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation
+| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
+
|===
// end::infos_hashtable[]
diff --git a/doc/docgen.py b/doc/docgen.py
index d84c5847c..0e7eb6c9c 100644
--- a/doc/docgen.py
+++ b/doc/docgen.py
@@ -674,7 +674,7 @@ class AutogenDoc():
for info in sorted(infos[plugin]):
_inf = infos[plugin][info]
desc = translate(_inf['description'])
- args_desc = translate(_inf['args_description'] or '-')
+ args_desc = translate(_inf['args_description']) or '-'
self.write('| %s | %s | %s | %s\n',
escape(plugin), escape(info), escape(desc),
escape(args_desc))
@@ -694,7 +694,7 @@ class AutogenDoc():
for info in sorted(infos_hashtable[plugin]):
_inh = infos_hashtable[plugin][info]
desc = translate(_inh['description'])
- args_desc = translate(_inh['args_description'])
+ args_desc = translate(_inh['args_description']) or '-'
output_desc = translate(_inh['output_description']) or '-'
self.write('| %s | %s | %s | %s | %s\n',
escape(plugin), escape(info), escape(desc),
diff --git a/doc/en/includes/autogen_api_infos_hashtable.en.adoc b/doc/en/includes/autogen_api_infos_hashtable.en.adoc
index 9d4b98a2b..bf8e98a98 100644
--- a/doc/en/includes/autogen_api_infos_hashtable.en.adoc
+++ b/doc/en/includes/autogen_api_infos_hashtable.en.adoc
@@ -14,5 +14,7 @@
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
+| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
+
|===
// end::infos_hashtable[]
diff --git a/doc/fr/includes/autogen_api_infos_hashtable.fr.adoc b/doc/fr/includes/autogen_api_infos_hashtable.fr.adoc
index 0a0dac804..92c31a0f2 100644
--- a/doc/fr/includes/autogen_api_infos_hashtable.fr.adoc
+++ b/doc/fr/includes/autogen_api_infos_hashtable.fr.adoc
@@ -14,5 +14,7 @@
| weechat | focus_info | obtenir l'information de focus | "x" : coordonnée x (chaîne avec un entier >= 0), "y" : coordonnée y (chaîne avec un entier >= 0) | voir la fonction hook_focus dans la Référence API extension
+| weechat | secured_data | données sécurisées | - | données sécurisées : noms et valeurs (attention : les valeurs sont des données sensibles : il ne faut PAS les afficher/logger)
+
|===
// end::infos_hashtable[]
diff --git a/doc/it/includes/autogen_api_infos_hashtable.it.adoc b/doc/it/includes/autogen_api_infos_hashtable.it.adoc
index 4589dc694..98c644ed2 100644
--- a/doc/it/includes/autogen_api_infos_hashtable.it.adoc
+++ b/doc/it/includes/autogen_api_infos_hashtable.it.adoc
@@ -14,5 +14,7 @@
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
+| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
+
|===
// end::infos_hashtable[]
diff --git a/doc/ja/includes/autogen_api_infos_hashtable.ja.adoc b/doc/ja/includes/autogen_api_infos_hashtable.ja.adoc
index b45e2b37a..3e43a6a1c 100644
--- a/doc/ja/includes/autogen_api_infos_hashtable.ja.adoc
+++ b/doc/ja/includes/autogen_api_infos_hashtable.ja.adoc
@@ -14,5 +14,7 @@
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
+| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
+
|===
// end::infos_hashtable[]
diff --git a/doc/pl/includes/autogen_api_infos_hashtable.pl.adoc b/doc/pl/includes/autogen_api_infos_hashtable.pl.adoc
index 18decc010..8dc13ceed 100644
--- a/doc/pl/includes/autogen_api_infos_hashtable.pl.adoc
+++ b/doc/pl/includes/autogen_api_infos_hashtable.pl.adoc
@@ -14,5 +14,7 @@
| weechat | focus_info | pobierz informacje o focusie | "x": współrzędne w osi x (ciąg z liczbą >= 0), "y": y współrzędne w osi y (ciąg z liczbą >= 0) | zobacz funkcję „hook_focus” w opisie API wtyczek
+| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
+
|===
// end::infos_hashtable[]