1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: add countdown example in /help repeat (issue #2007)

This commit is contained in:
Sébastien Helleu
2023-08-27 08:25:41 +02:00
parent 9a268ec7cc
commit e5e027b9fa
15 changed files with 79 additions and 31 deletions
+5 -2
View File
@@ -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 <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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í "
+5 -2
View File
@@ -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 <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\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"
+5 -2
View File
@@ -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 <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+10 -4
View File
@@ -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 <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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 <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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 <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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 <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -3092,7 +3092,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: コマンドの実行間隔\n"
" unit: 任意、以下の値を使ってください:\n"
+5 -2
View File
@@ -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-08-08 07:13+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\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"
+5 -2
View File
@@ -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 <vascomalmeida@sapo.pt>\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"
+5 -2
View File
@@ -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 <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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 <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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ć <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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 <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+5 -2
View File
@@ -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 <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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"
+4 -1
View File
@@ -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 (