diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-08-27 08:03:40 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-08-27 08:03:40 +0200 |
commit | 9a268ec7cce057ea02b3ac74c709b69ad494c927 (patch) | |
tree | 0540d1f01dd0758a7f58ee73ca609277f022eee5 /po/hu.po | |
parent | b0ed5b99e9695da65eb8fa93de2b2f816f3a7144 (diff) | |
download | weechat-9a268ec7cce057ea02b3ac74c709b69ad494c927.zip |
core: evaluate command given to `/repeat` with contextual variables (closes #2007)
Diffstat (limited to 'po/hu.po')
-rw-r--r-- | po/hu.po | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -20,7 +20,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-17 11:47+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -2210,7 +2210,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" |