From f500c972ddc16d362c131b5caf81b02cdcc976ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 16 May 2020 14:27:59 +0200 Subject: [PATCH] core: update translations (closes #1245, closes #1257) --- ChangeLog.adoc | 1 + .../autogen_api_infos_hashtable.de.adoc | 2 ++ .../autogen_api_infos_hashtable.en.adoc | 2 ++ .../autogen_api_infos_hashtable.fr.adoc | 2 ++ .../autogen_api_infos_hashtable.it.adoc | 2 ++ .../autogen_api_infos_hashtable.ja.adoc | 2 ++ .../autogen_api_infos_hashtable.pl.adoc | 2 ++ po/cs.po | 14 +++++++++++++- po/de.po | 14 +++++++++++++- po/es.po | 14 +++++++++++++- po/fr.po | 18 ++++++++++++++++-- po/hu.po | 14 +++++++++++++- po/it.po | 14 +++++++++++++- po/ja.po | 14 +++++++++++++- po/pl.po | 14 +++++++++++++- po/pt.po | 14 +++++++++++++- po/pt_BR.po | 14 +++++++++++++- po/ru.po | 14 +++++++++++++- po/tr.po | 14 +++++++++++++- po/weechat.pot | 14 +++++++++++++- src/plugins/plugin-api-info.c | 5 +++-- 21 files changed, 188 insertions(+), 16 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index feacc8ad1..74a1db9cc 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -30,6 +30,7 @@ New features:: * core: add default key kbd:[Alt+Shift+N] to toggle nicklist bar * core: add command line option "--stdout" in weechat-headless binary to log to stdout rather than ~/.weechat/weechat.log (issue #1475, issue #1477) * core: reload configuration files on SIGHUP (issue #1476) + * api: add info_hashtable "focus_info" (issue #1245, issue #1257) * api: rename function hook_completion_get_string to completion_get_string and hook_completion_list_add to completion_list_add * api: add functions completion_new, completion_search and completion_free * api: add hdata "completion_word" diff --git a/doc/de/includes/autogen_api_infos_hashtable.de.adoc b/doc/de/includes/autogen_api_infos_hashtable.de.adoc index 379c14cec..e5e563b82 100644 --- a/doc/de/includes/autogen_api_infos_hashtable.de.adoc +++ b/doc/de/includes/autogen_api_infos_hashtable.de.adoc @@ -12,5 +12,7 @@ | irc | irc_message_split | trennt eine IRC Nachricht (standardmäßig in 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten +| 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 + |=== // end::infos_hashtable[] diff --git a/doc/en/includes/autogen_api_infos_hashtable.en.adoc b/doc/en/includes/autogen_api_infos_hashtable.en.adoc index 2ec1d2232..9d4b98a2b 100644 --- a/doc/en/includes/autogen_api_infos_hashtable.en.adoc +++ b/doc/en/includes/autogen_api_infos_hashtable.en.adoc @@ -12,5 +12,7 @@ | irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages +| 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 + |=== // 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 39ffac994..0a0dac804 100644 --- a/doc/fr/includes/autogen_api_infos_hashtable.fr.adoc +++ b/doc/fr/includes/autogen_api_infos_hashtable.fr.adoc @@ -12,5 +12,7 @@ | irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets par défaut) | "message" : message IRC, "server" : nom du serveur (optionnel) | "msg1" ... "msgN" : messages à envoyer (sans le "\r\n" final), "args1" ... "argsN" : paramètres des messages, "count" : nombre de messages +| 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 + |=== // 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 f371798f9..4589dc694 100644 --- a/doc/it/includes/autogen_api_infos_hashtable.it.adoc +++ b/doc/it/includes/autogen_api_infos_hashtable.it.adoc @@ -12,5 +12,7 @@ | irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": messaggio IRC, "server": nome server (opzionale) | "msg1" ... "msgN": messaggio da inviare (senza "\r\n" finale), "args1" ... "argsN": argomenti dei messaggi, "count": numero di messaggi +| 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 + |=== // 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 25198bd79..b45e2b37a 100644 --- a/doc/ja/includes/autogen_api_infos_hashtable.ja.adoc +++ b/doc/ja/includes/autogen_api_infos_hashtable.ja.adoc @@ -12,5 +12,7 @@ | irc | irc_message_split | IRC メッセージを分割 (デフォルトでは 512 バイト内に収まるように分割します) | "message": IRC メッセージ、"server": サーバ名 (任意) | "msg1" ... "msgN": 送信メッセージ (最後の "\r\n" は無し), "args1" ... "argsN": メッセージの引数、"count": メッセージの数 +| 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 + |=== // 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 8ebf6c2f5..681823975 100644 --- a/doc/pl/includes/autogen_api_infos_hashtable.pl.adoc +++ b/doc/pl/includes/autogen_api_infos_hashtable.pl.adoc @@ -12,5 +12,7 @@ | irc | irc_message_split | dziel wiadomość IRC (aby zmieściła się domyślnie w 512 bajtach) | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "msg1" ... "msgN": wiadomości do wysłania (bez kończącego "\r\n"), "args1" ... "argsN": argumenty wiadomości, "count": ilość wiadomości +| 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 + |=== // end::infos_hashtable[] diff --git a/po/cs.po b/po/cs.po index a808c40ec..fc7b6ffa2 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -10292,6 +10292,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "seznam polí" diff --git a/po/de.po b/po/de.po index 93fdecbcd..72bb580e2 100644 --- a/po/de.po +++ b/po/de.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-05-08 19:58+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -12193,6 +12193,18 @@ msgstr "" "standardmäßig aktuelle Zeit), Anzahl der zu testenden Passwörtern vorher/" "nachher (optional, standardmäßig 0)" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "Auflistung der Bars" diff --git a/po/es.po b/po/es.po index 3e7922e08..4e0441000 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -10604,6 +10604,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "lista de barras" diff --git a/po/fr.po b/po/fr.po index 842884a28..34c975d4c 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" -"PO-Revision-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" +"PO-Revision-Date: 2020-05-16 14:36+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -11914,6 +11914,20 @@ msgstr "" "heure courante par défaut), nombre de mots de passe avant/après à tester " "(optionnel, 0 par défaut)" +msgid "get focus info" +msgstr "obtenir l'information de focus" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" +"\"x\" : coordonnée x (chaîne avec un entier >= 0), \"y\" : coordonnée y " +"(chaîne avec un entier >= 0)" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "voir la fonction hook_focus dans la Référence API extension" + msgid "list of bars" msgstr "liste des barres" diff --git a/po/hu.po b/po/hu.po index 3aa8ef59a..3a0e65c30 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -9649,6 +9649,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + #, fuzzy msgid "list of bars" msgstr "Aliaszok listája:\n" diff --git a/po/it.po b/po/it.po index 549d13cdc..8bc76277d 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -10789,6 +10789,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "elenco delle barre" diff --git a/po/ja.po b/po/ja.po index f9e0c2d48..b63e1a5d4 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese = 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "バーのリスト" diff --git a/po/pl.po b/po/pl.po index 7139c19f6..4a8352b2f 100644 --- a/po/pl.po +++ b/po/pl.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: Polish \n" @@ -11640,6 +11640,18 @@ msgstr "" "jest obecny czas), ilość starszych/nowszych haseł do sprawdzenia " "(opcjonalne, domyślnie 0)" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "lista pasków" diff --git a/po/pt.po b/po/pt.po index af89deb2b..de9141d17 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -11251,6 +11251,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "lista de barras" diff --git a/po/pt_BR.po b/po/pt_BR.po index 0d6e31ffa..ffdf68845 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -10090,6 +10090,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "lista de barras" diff --git a/po/ru.po b/po/ru.po index 8b4759e26..0459e2718 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -9685,6 +9685,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + #, fuzzy msgid "list of bars" msgstr "Список сокращений:\n" diff --git a/po/tr.po b/po/tr.po index ead5a3ef5..de3801a3a 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2019-11-03 08:38+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -8810,6 +8810,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index 28ece15ab..6fbaae2ef 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-05-16 13:39+0200\n" +"POT-Creation-Date: 2020-05-16 14:36+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -8671,6 +8671,18 @@ msgid "" "default), number of passwords before/after to test (optional, 0 by default)" msgstr "" +msgid "get focus info" +msgstr "" + +#. TRANSLATORS: please do not translate key names (enclosed by quotes) +msgid "" +"\"x\": x coordinate (string with integer >= 0), \"y\": y coordinate (string " +"with integer >= 0)" +msgstr "" + +msgid "see function \"hook_focus\" in Plugin API reference" +msgstr "" + msgid "list of bars" msgstr "" diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c index 22f29116a..429ceafd7 100644 --- a/src/plugins/plugin-api-info.c +++ b/src/plugins/plugin-api-info.c @@ -1865,8 +1865,9 @@ plugin_api_info_init () "focus_info", N_("get focus info"), /* TRANSLATORS: please do not translate key names (enclosed by quotes) */ - N_("\"x\": x coordinate, \"y\": y coordinate"), - N_("see hook_focus in Plugin API reference"), + N_("\"x\": x coordinate (string with integer >= 0), " + "\"y\": y coordinate (string with integer >= 0)"), + N_("see function \"hook_focus\" in Plugin API reference"), &gui_focus_info_hashtable_gui_focus_info_cb, NULL, NULL); /* WeeChat core infolist hooks */