diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-09-06 22:39:29 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-09-06 22:39:29 +0200 |
commit | 7d1b557627c60a76df184ce2c6416d4b74da46f5 (patch) | |
tree | 058a6909b652274c850654217ac06f5271746df0 | |
parent | 5b3929b321a88fdb3402d69324a24ae0828bd2e0 (diff) | |
download | weechat-7d1b557627c60a76df184ce2c6416d4b74da46f5.zip |
core: fix indentation in examples of /help eval
-rw-r--r-- | doc/de/includes/autogen_user_commands.de.adoc | 8 | ||||
-rw-r--r-- | doc/en/includes/autogen_user_commands.en.adoc | 8 | ||||
-rw-r--r-- | doc/fr/includes/autogen_user_commands.fr.adoc | 8 | ||||
-rw-r--r-- | doc/it/includes/autogen_user_commands.it.adoc | 8 | ||||
-rw-r--r-- | doc/ja/includes/autogen_user_commands.ja.adoc | 8 | ||||
-rw-r--r-- | doc/pl/includes/autogen_user_commands.pl.adoc | 8 | ||||
-rw-r--r-- | doc/sr/includes/autogen_user_commands.sr.adoc | 8 | ||||
-rw-r--r-- | po/cs.po | 10 | ||||
-rw-r--r-- | po/de.po | 10 | ||||
-rw-r--r-- | po/es.po | 10 | ||||
-rw-r--r-- | po/fr.po | 20 | ||||
-rw-r--r-- | po/hu.po | 10 | ||||
-rw-r--r-- | po/it.po | 10 | ||||
-rw-r--r-- | po/ja.po | 10 | ||||
-rw-r--r-- | po/pl.po | 10 | ||||
-rw-r--r-- | po/pt.po | 10 | ||||
-rw-r--r-- | po/pt_BR.po | 10 | ||||
-rw-r--r-- | po/ru.po | 10 | ||||
-rw-r--r-- | po/sr.po | 10 | ||||
-rw-r--r-- | po/tr.po | 10 | ||||
-rw-r--r-- | po/weechat.pot | 10 | ||||
-rw-r--r-- | src/core/wee-command.c | 8 |
22 files changed, 107 insertions, 107 deletions
diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc index 17c1ee283..ea8276020 100644 --- a/doc/de/includes/autogen_user_commands.de.adoc +++ b/doc/de/includes/autogen_user_commands.de.adoc @@ -1433,10 +1433,10 @@ Examples (simple strings): /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 - /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 - /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 - /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc index 775bfd760..2a20f632d 100644 --- a/doc/en/includes/autogen_user_commands.en.adoc +++ b/doc/en/includes/autogen_user_commands.en.adoc @@ -1433,10 +1433,10 @@ Examples (simple strings): /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 - /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 - /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 - /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc index 89280a6e0..9ba872e08 100644 --- a/doc/fr/includes/autogen_user_commands.fr.adoc +++ b/doc/fr/includes/autogen_user_commands.fr.adoc @@ -1433,10 +1433,10 @@ Exemples (chaînes simples) : /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1 - /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2 - /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2 - /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc index 977ada7ac..d5b3694e4 100644 --- a/doc/it/includes/autogen_user_commands.it.adoc +++ b/doc/it/includes/autogen_user_commands.it.adoc @@ -1433,10 +1433,10 @@ Examples (simple strings): /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 - /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 - /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 - /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc index 9a100e389..6576692c1 100644 --- a/doc/ja/includes/autogen_user_commands.ja.adoc +++ b/doc/ja/includes/autogen_user_commands.ja.adoc @@ -1433,10 +1433,10 @@ Examples (simple strings): /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 - /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 - /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 - /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index 28e644594..efa744499 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -1432,10 +1432,10 @@ Examples (simple strings): /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 - /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 - /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 - /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== diff --git a/doc/sr/includes/autogen_user_commands.sr.adoc b/doc/sr/includes/autogen_user_commands.sr.adoc index e13e729fa..661e1bfee 100644 --- a/doc/sr/includes/autogen_user_commands.sr.adoc +++ b/doc/sr/includes/autogen_user_commands.sr.adoc @@ -1433,10 +1433,10 @@ Examples (simple strings): /eval -n ${split:-1,,,abc,def,ghi} ==> ghi /eval -n ${split:count,,,abc,def,ghi} ==> 3 /eval -n ${split:random,,,abc,def,ghi} ==> def - /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 - /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 - /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 - /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1 + /eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2 + /eval -n ${split_shell:count,"arg 1" arg2} ==> 2 + /eval -n ${split_shell:random,"arg 1" arg2} ==> arg2 /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${random:0,10} ==> 3 /eval -n ${base_encode:64,test} ==> dGVzdA== @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1668,10 +1668,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-09-03 14:53+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" @@ -1948,10 +1948,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1696,10 +1696,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" -"PO-Revision-Date: 2021-09-06 13:30+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" +"PO-Revision-Date: 2021-09-06 22:38+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -1784,10 +1784,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -1937,10 +1937,10 @@ msgstr "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\\\"arg 1\\\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\\\"arg 1\\\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\\\"arg 1\\\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\\\"arg 1\\\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1583,10 +1583,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1679,10 +1679,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -1763,10 +1763,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n" @@ -1913,10 +1913,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -1767,10 +1767,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index d7800fe4a..b68cd39b8 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: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1742,10 +1742,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1606,10 +1606,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-09-01 02:38+0400\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1900,10 +1900,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+0200\n" "PO-Revision-Date: 2021-07-10 16:01+0200\n" "Last-Translator: Emir SARI <bitigchi@me.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1752,10 +1752,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" diff --git a/po/weechat.pot b/po/weechat.pot index 7d64e84e2..33689c1cd 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: 2021-09-06 13:29+0200\n" +"POT-Creation-Date: 2021-09-06 22:37+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" @@ -1440,10 +1440,10 @@ msgid "" " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" -" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" -" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" -" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" -" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" +" /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" +" /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" +" /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index b8e642f91..7c8ffcf07 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -7644,10 +7644,10 @@ command_init () " /eval -n ${split:-1,,,abc,def,ghi} ==> ghi\n" " /eval -n ${split:count,,,abc,def,ghi} ==> 3\n" " /eval -n ${split:random,,,abc,def,ghi} ==> def\n" - " /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" - " /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" - " /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" - " /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" + " /eval -n ${split_shell:1,\"arg 1\" arg2} ==> arg 1\n" + " /eval -n ${split_shell:-1,\"arg 1\" arg2} ==> arg2\n" + " /eval -n ${split_shell:count,\"arg 1\" arg2} ==> 2\n" + " /eval -n ${split_shell:random,\"arg 1\" arg2} ==> arg2\n" " /eval -n ${calc:(5+2)*3} ==> 21\n" " /eval -n ${random:0,10} ==> 3\n" " /eval -n ${base_encode:64,test} ==> dGVzdA==\n" |