diff --git a/po/cs.po b/po/cs.po index 807aaa43d..e5b2c6379 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -2465,7 +2465,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " plugin: jméno pluginu ('weechat' pro WeeChat vnitřní příkaz)\n" " příkaz: příkaz, který spustit ('/' je automaticky dodáno, pokud není " diff --git a/po/de.po b/po/de.po index d9abb8fe6..70b193c25 100644 --- a/po/de.po +++ b/po/de.po @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-08-27 00:11+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -3192,7 +3192,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " delay: Verzögerung zwischen dem Ausführen der Befehle (Minimum: 1 " "Millisekunde)\n" diff --git a/po/es.po b/po/es.po index cb12a2c09..5bf969df6 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" @@ -3012,7 +3012,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " retraso: retraso entre la ejecución de comandos (en milisegundos)\n" " cantidad: número de veces a ejecutar el comando\n" diff --git a/po/fr.po b/po/fr.po index a31a5f440..aa947a568 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: 2023-08-27 07:57+0200\n" -"PO-Revision-Date: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" +"PO-Revision-Date: 2023-08-27 08:24+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -3100,7 +3100,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " délai : délai entre l'exécution des commandes (minimum : 1 milliseconde)\n" " unité : optionnelle, valeurs possibles :\n" @@ -3131,7 +3134,10 @@ msgstr "" "\n" "Exemple :\n" " faire défiler de 2 pages vers le haut :\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" afficher un compte à rebours, en démarrant à 5 :\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boum !:" +"${repeat_revindex0}}" msgid "reset config options" msgstr "réinitialiser des options de configuration" diff --git a/po/hu.po b/po/hu.po index 96210da6f..2d2be079d 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -2230,7 +2230,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" "parancs: futtatandó parancs (egy '/' autómatikusan hozzáadódik, ha nincs " "megadva a parancs elején)\n" diff --git a/po/it.po b/po/it.po index 361710565..de95cb4cf 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -2610,7 +2610,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" "ritardo: ritardo tra l'esecuzione dei comandi (in millisecondi)\n" " numero: numero di volte in cui eseguire il comando\n" diff --git a/po/ja.po b/po/ja.po index d502bde5e..90d39ea3e 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-08-08 07:13+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -3559,7 +3559,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " opóźnienie: czas pomiędzy wykonaniem komend\n" " jednostka: opcjonalna, dostępne wartości:\n" diff --git a/po/pt.po b/po/pt.po index b7e8ee0af..64ea1f634 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -3066,7 +3066,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " atraso: atraso entre as execuções do comando (em milissegundos)\n" " vezes: número de vezes a executar o comando\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index e29e793f6..f6b3b3b6c 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -2675,7 +2675,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " delay: atraso entre execução dos comandos (em milisegundos)\n" " count: número de vezes que o comando deve ser executado\n" diff --git a/po/ru.po b/po/ru.po index 9232a77d0..92b3fef4c 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -2254,7 +2254,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" "команда: исполняемая команда ('/' автоматически добавляется в начало " "команды)\n" diff --git a/po/sr.po b/po/sr.po index 99521fab2..69eb8f2e6 100644 --- a/po/sr.po +++ b/po/sr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-08-08 07:14+0200\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" @@ -3191,7 +3191,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" " кашњење: кашњење између извршавања команди\n" "јединица: необавезно, вредности су:\n" diff --git a/po/tr.po b/po/tr.po index e17065fa4..985038357 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2023-08-08 07:14+0200\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" @@ -3172,7 +3172,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" "gecikme: komutların yürütülmesi arasındaki gecikme\n" " birim: isteğe bağlı, değerler:\n" diff --git a/po/weechat.pot b/po/weechat.pot index 9d291a5a0..1d6d54ca5 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: 2023-08-27 07:57+0200\n" +"POT-Creation-Date: 2023-08-27 08:24+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -2070,7 +2070,10 @@ msgid "" "\n" "Example:\n" " scroll 2 pages up:\n" -" /repeat 2 /window page_up" +" /repeat 2 /window page_up\n" +" print a countdown, starting at 5:\n" +" /repeat -interval 1 6 /print ${if:${repeat_last}?Boom!:" +"${repeat_revindex0}}" msgstr "" msgid "reset config options" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 91a62060d..3ef54144b 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -9018,7 +9018,10 @@ command_init () "\n" "Example:\n" " scroll 2 pages up:\n" - " /repeat 2 /window page_up"), + " /repeat 2 /window page_up\n" + " print a countdown, starting at 5:\n" + " /repeat -interval 1 6 " + "/print ${if:${repeat_last}?Boom!:${repeat_revindex0}}"), "%- %(commands:/)", &command_repeat, NULL, NULL); hook_command (