summaryrefslogtreecommitdiff
path: root/po/pt_BR.po
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-08-27 08:03:40 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-27 08:03:40 +0200
commit9a268ec7cce057ea02b3ac74c709b69ad494c927 (patch)
tree0540d1f01dd0758a7f58ee73ca609277f022eee5 /po/pt_BR.po
parentb0ed5b99e9695da65eb8fa93de2b2f816f3a7144 (diff)
downloadweechat-9a268ec7cce057ea02b3ac74c709b69ad494c927.zip
core: evaluate command given to `/repeat` with contextual variables (closes #2007)
Diffstat (limited to 'po/pt_BR.po')
-rw-r--r--po/pt_BR.po17
1 files changed, 15 insertions, 2 deletions
diff --git a/po/pt_BR.po b/po/pt_BR.po
index b43182668..e29e793f6 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-26 20:02+0200\n"
+"POT-Creation-Date: 2023-08-27 07:57+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"
@@ -2655,7 +2655,20 @@ msgid ""
" h: hours\n"
" count: number of times to execute command\n"
"command: command to execute (or text to send to buffer if command does not "
-"start with '/')\n"
+"start with '/'), evaluated and the following variables are set each time the "
+"command is executed:\n"
+" ${buffer}: buffer pointer\n"
+" ${repeat_count}: number of times the command is executed\n"
+" ${repeat_index}: current index (from 1 to \"count\")\n"
+" ${repeat_index0}: current index (from 0 to \"count\" - 1)\n"
+" ${repeat_revindex}: current index from the end (from \"count\" to "
+"1)\n"
+" ${repeat_revindex0}: current index from the end (from \"count\" - "
+"1 to 0)\n"
+" ${repeat_first}: \"1\" for the first execution, \"0\" for the "
+"others\n"
+" ${repeat_last}: \"1\" for the last execution, \"0\" for the "
+"others\n"
"\n"
"Note: the command is executed on buffer where /repeat was executed (if the "
"buffer does not exist any more, the command is not executed).\n"