summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--po/cs.po21
-rw-r--r--po/de.po21
-rw-r--r--po/es.po22
-rw-r--r--po/fr.po24
-rw-r--r--po/hu.po17
-rw-r--r--po/it.po21
-rw-r--r--po/ja.po21
-rw-r--r--po/pl.po21
-rw-r--r--po/pt.po22
-rw-r--r--po/pt_BR.po19
-rw-r--r--po/ru.po17
-rw-r--r--po/sr.po21
-rw-r--r--po/tr.po25
-rw-r--r--po/weechat.pot13
-rw-r--r--src/plugins/irc/irc-command.c27
16 files changed, 246 insertions, 67 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 6d867cbea..c30dea539 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -25,6 +25,7 @@ New features::
* api: add info "plugin_loaded"
* api: add support of specifier `%!` for timestamp in function util_strftimeval
* api: add support of base64url in encode/decode functions
+ * irc: add option `-all` in command `/allchan`, do not execute command on parted channels by default (issue #2085)
* irc: add server option "autojoin_delay" (delay before autojoin), use option "command_delay" before execution of the command (issue #862)
* relay: add "api" protocol (HTTP REST API), add option relay.look.display_clients, change option type relay.look.auto_open_buffer to string, rename option relay.weechat.commands to relay.network.commands, add option relay.network.time_window (issue #2066)
* relay: add support of websocket extension "permessage-deflate" (issue #1549)
diff --git a/po/cs.po b/po/cs.po
index a80f261d2..df02b4aa9 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8556,8 +8556,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy
@@ -8565,8 +8565,21 @@ msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
msgid "raw[-current]: execute command for channels of current server only"
msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "execute a command on all channels of all connected servers"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
+
+#, fuzzy
+#| msgid ""
+#| "-all: set new nick for all connected servers\n"
+#| "nick: new nick"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+" -all: nastavit novou přezdívku přo všechny připojené servery\n"
+"přezdívka: nová přezdívka"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/de.po b/po/de.po
index e6d1092e7..49d2a058d 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -9727,9 +9727,13 @@ msgstr ""
"Server verbunden sind"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
+#, fuzzy
+#| msgid ""
+#| "[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
+#| "current] [-parted] -include=<channel>[,<channel>...] <command>"
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted] -include=<channel>[,<channel>...] <command>"
@@ -9739,7 +9743,16 @@ msgstr ""
"raw[-current]: führt einen Befehl aus, der für alle Kanäle, des aktuellen "
"Servers, Anwendung findet"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "raw[-parted]: execute on parted channels only"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "raw[-parted]: wird nur bei vom Server getrennten Kanälen ausgeführt"
+
+#, fuzzy
+#| msgid "raw[-parted]: execute on parted channels only"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr "raw[-parted]: wird nur bei vom Server getrennten Kanälen ausgeführt"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
diff --git a/po/es.po b/po/es.po
index f35b1c748..e34ef9591 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8748,8 +8748,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -8758,8 +8758,22 @@ msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
"ejecuta un comando en todos los canales de todos los servidores conectados"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "execute a command on all channels of all connected servers"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr ""
+"ejecuta un comando en todos los canales de todos los servidores conectados"
+
+#, fuzzy
+#| msgid ""
+#| "-all: set new nick for all connected servers\n"
+#| "nick: new nick"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+" -all: establece el nuevo apodo para todos los servidores conectados\n"
+"apodo: nuevo apodo"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 028bbf1f4..1a4eeb17c 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: 2024-03-06 22:39+0100\n"
-"PO-Revision-Date: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
+"PO-Revision-Date: 2024-03-06 22:50+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -9557,19 +9557,27 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
-"[-current] [-parted] [-exclude=<canal>[,<canal>...]] <commande> || [-"
-"current] [-parted] -include=<canal>[,<canal>...] <commande>"
+"[-current] [-parted|-all] [-exclude=<canal>[,<canal>...]] <commande> || [-"
+"current] [-parted|-all] -include=<canal>[,<canal>...] <commande>"
msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
"raw[-current] : exécuter la commande pour les canaux du serveur courant "
"seulement"
-msgid "raw[-parted]: execute on parted channels only"
-msgstr "raw[-parted] : exécuter la commande sur les canaux quittés seulement"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr ""
+"raw[-parted] : exécuter la commande sur les canaux quittés (par défaut : "
+"exécuter la commande sur les canaux actifs seulement)"
+
+msgid "raw[-all]: execute command on all channels (active and parted)"
+msgstr ""
+"raw[-all] : exécuter la commande sur tous les canaux (actifs et quittés)"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/hu.po b/po/hu.po
index 07e5365fe..3e8d78c85 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8190,16 +8190,25 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "[alias_név [parancs [paraméterek]]]"
#, fuzzy
msgid "raw[-current]: execute command for channels of current server only"
msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobájába"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobájába"
+
+#, fuzzy
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+"-all: új név beállítása minden csatlakozott szerveren\n"
+" név: új név"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/it.po b/po/it.po
index 4baa6f3b0..9cc836a62 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8743,8 +8743,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy
@@ -8752,8 +8752,21 @@ msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
msgid "raw[-current]: execute command for channels of current server only"
msgstr "esegue un comando su tutti i canali di tutti i server connessi"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "execute a command on all channels of all connected servers"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "esegue un comando su tutti i canali di tutti i server connessi"
+
+#, fuzzy
+#| msgid ""
+#| "-all: set new nick for all connected servers\n"
+#| "nick: new nick"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+"-all: imposta nuovo nick per tutti i server connessi\n"
+"nick: nuovo nick"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/ja.po b/po/ja.po
index bbf218996..55cace196 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -8979,8 +8979,8 @@ msgstr "全てのサーバ、全てのチャンネルに対してコマンドを
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
@@ -8990,8 +8990,21 @@ msgstr ""
msgid "raw[-current]: execute command for channels of current server only"
msgstr "全てのサーバ、全てのチャンネルに対してコマンドを実行"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "execute a command on all channels of all connected servers"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "全てのサーバ、全てのチャンネルに対してコマンドを実行"
+
+#, fuzzy
+#| msgid ""
+#| "-all: set new nick for all connected servers\n"
+#| "nick: new nick"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+"-all: 全ての接続済みサーバで新しいニックネームを設定\n"
+"nick: 新しいニックネーム"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 0c29b0c77..cd139a8e2 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9242,9 +9242,13 @@ msgid "execute a command on all channels of all connected servers"
msgstr "wykonuje komendę na wszystkich kanałach na połączonych serwerach"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
+#, fuzzy
+#| msgid ""
+#| "[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
+#| "current] [-parted] -include=<channel>[,<channel>...] <command>"
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-parted] [-exclude=<kanał>[,<kanał>...]] <komenda> || [-current] "
"[-parted] -include=<kanał>[,<kanał>...] <komenda>"
@@ -9253,7 +9257,16 @@ msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
"raw[-current]: wykonuje komendę na wszystkich kanałach na obecnego serwera"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "raw[-parted]: execute on parted channels only"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "raw[-parted]: wykonaj tylko na opuszczonych kanałach"
+
+#, fuzzy
+#| msgid "raw[-parted]: execute on parted channels only"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr "raw[-parted]: wykonaj tylko na opuszczonych kanałach"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
diff --git a/po/pt.po b/po/pt.po
index 1a0401356..63ddd5384 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -8992,8 +8992,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -9002,8 +9002,22 @@ msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
"executar um comando em todos os canais de todos os servidores conectados"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "execute a command on all channels of all connected servers"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr ""
+"executar um comando em todos os canais de todos os servidores conectados"
+
+#, fuzzy
+#| msgid ""
+#| "-all: set new nick for all connected servers\n"
+#| "nick: new nick"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+"-all: definir novo nick em todos os servidores conectados\n"
+"nick: novo nick"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 898dca87f..3c4e9a638 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8601,8 +8601,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
#, fuzzy
@@ -8610,8 +8610,17 @@ msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
msgid "raw[-current]: execute command for channels of current server only"
msgstr "apelidos em todos os canais do servidor IRC atual"
-msgid "raw[-parted]: execute on parted channels only"
-msgstr ""
+#, fuzzy
+#| msgid "nicks on all channels of current IRC server"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "apelidos em todos os canais do servidor IRC atual"
+
+#, fuzzy
+#| msgid "nicks on all channels of current IRC server"
+msgid "raw[-all]: execute command on all channels (active and parted)"
+msgstr "apelidos em todos os canais do servidor IRC atual"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/ru.po b/po/ru.po
index 3496d08a6..4a28b1ae2 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8236,16 +8236,25 @@ msgstr "отправить действие на все каналы всех п
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr "[сокращение [команда [аргументы]]]"
#, fuzzy
msgid "raw[-current]: execute command for channels of current server only"
msgstr "отправить действие на все каналы всех подключенных серверов"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "отправить действие на все каналы всех подключенных серверов"
+
+#, fuzzy
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+"-all: установить новый ник для всех подключенных серверов\n"
+" ник: новый ник"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/sr.po b/po/sr.po
index dcbb661dc..776bbe257 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9259,9 +9259,13 @@ msgid "execute a command on all channels of all connected servers"
msgstr "извршавање команде на свим каналима свих повезаних сервера"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
+#, fuzzy
+#| msgid ""
+#| "[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
+#| "current] [-parted] -include=<channel>[,<channel>...] <command>"
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-parted] [-exclude=<канал>[,<канал>...]] <команда> || [-current] "
"[-parted] -include=<канал>[,<канал>...] <команда>"
@@ -9269,7 +9273,16 @@ msgstr ""
msgid "raw[-current]: execute command for channels of current server only"
msgstr "raw[-current]: команда се извршава само за канале текућег сервера"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "raw[-parted]: execute on parted channels only"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "raw[-parted]: команда се извршава само на напуштеним каналима"
+
+#, fuzzy
+#| msgid "raw[-parted]: execute on parted channels only"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr "raw[-parted]: команда се извршава само на напуштеним каналима"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
diff --git a/po/tr.po b/po/tr.po
index 7a92b4336..ff6e4b8f8 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\n"
"PO-Revision-Date: 2024-03-06 20:33+0100\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9088,9 +9088,13 @@ msgid "execute a command on all channels of all connected servers"
msgstr "bağlanılan tüm sunucuların tüm kanallarında bir komut yürüt"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
+#, fuzzy
+#| msgid ""
+#| "[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
+#| "current] [-parted] -include=<channel>[,<channel>...] <command>"
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-parted] [-exclude=<kanal>[,<kanal>...]] <komut> || [-current] [-"
"parted] -include=<kanal>[,<kanal>...] <komut>"
@@ -9100,8 +9104,21 @@ msgstr ""
msgid "raw[-current]: execute command for channels of current server only"
msgstr "bağlanılan tüm sunucuların tüm kanallarında bir komut yürüt"
-msgid "raw[-parted]: execute on parted channels only"
+#, fuzzy
+#| msgid "execute a command on all channels of all connected servers"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr "bağlanılan tüm sunucuların tüm kanallarında bir komut yürüt"
+
+#, fuzzy
+#| msgid ""
+#| "-all: set new nick for all connected servers\n"
+#| "nick: new nick"
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
+"-all: tüm bağlı sunucular için yeni bir takma ad ayarla\n"
+"nick: yeni takma ad"
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
msgstr ""
diff --git a/po/weechat.pot b/po/weechat.pot
index c6f023ed7..47d10fd08 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: 2024-03-06 22:39+0100\n"
+"POT-Creation-Date: 2024-03-06 22:50+0100\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"
@@ -7646,14 +7646,19 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
msgid ""
-"[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-"
-"current] [-parted] -include=<channel>[,<channel>...] <command>"
+"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
+"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
msgstr ""
msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
-msgid "raw[-parted]: execute on parted channels only"
+msgid ""
+"raw[-parted]: execute command on parted channels (by default: execute "
+"command on active channels only)"
+msgstr ""
+
+msgid "raw[-all]: execute command on all channels (active and parted)"
msgstr ""
msgid "raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 5a4747fcc..05f5a90fd 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -623,6 +623,7 @@ irc_command_exec_buffers (struct t_weelist *list_buffers,
void
irc_command_exec_all_channels (struct t_irc_server *server,
int channel_type,
+ int all_channels,
int parted_channels,
int inclusive,
const char *str_channels,
@@ -663,7 +664,9 @@ irc_command_exec_all_channels (struct t_irc_server *server,
parted = ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
&& !ptr_channel->nicks) ?
1 : 0;
- state_ok = (!parted_channels || parted);
+ state_ok = (all_channels
+ || (parted_channels && parted)
+ || (!parted_channels && !parted));
if ((ptr_channel->type == channel_type) && state_ok)
{
@@ -716,7 +719,7 @@ irc_command_exec_all_channels (struct t_irc_server *server,
IRC_COMMAND_CALLBACK(allchan)
{
- int i, current_server, parted_channels, inclusive;
+ int i, current_server, all_channels, parted_channels, inclusive;
const char *ptr_channels, *ptr_command;
IRC_BUFFER_GET_SERVER(buffer);
@@ -728,6 +731,7 @@ IRC_COMMAND_CALLBACK(allchan)
WEECHAT_COMMAND_MIN_ARGS(2, "");
current_server = 0;
+ all_channels = 0;
parted_channels = 0;
ptr_channels = NULL;
inclusive = 0;
@@ -749,9 +753,16 @@ IRC_COMMAND_CALLBACK(allchan)
current_server = 1;
ptr_command = argv_eol[i + 1];
}
+ else if (weechat_strcmp (argv[i], "-all") == 0)
+ {
+ all_channels = 1;
+ parted_channels = 0;
+ ptr_command = argv_eol[i + 1];
+ }
else if (weechat_strcmp (argv[i], "-parted") == 0)
{
parted_channels = 1;
+ all_channels = 0;
ptr_command = argv_eol[i + 1];
}
else if (weechat_strncmp (argv[i], "-exclude=", 9) == 0)
@@ -775,6 +786,7 @@ IRC_COMMAND_CALLBACK(allchan)
weechat_buffer_set (NULL, "hotlist", "-");
irc_command_exec_all_channels ((current_server) ? ptr_server : NULL,
IRC_CHANNEL_TYPE_CHANNEL,
+ all_channels,
parted_channels,
inclusive,
ptr_channels,
@@ -845,6 +857,7 @@ IRC_COMMAND_CALLBACK(allpv)
weechat_buffer_set (NULL, "hotlist", "-");
irc_command_exec_all_channels ((current_server) ? ptr_server : NULL,
IRC_CHANNEL_TYPE_PRIVATE,
+ 1, /* all channels */
0, /* parted channels */
inclusive,
ptr_channels,
@@ -6894,11 +6907,13 @@ irc_command_init ()
"allchan",
N_("execute a command on all channels of all connected servers"),
/* TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated */
- N_("[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command>"
- " || [-current] [-parted] -include=<channel>[,<channel>...] <command>"),
+ N_("[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command>"
+ " || [-current] [-parted|-all] -include=<channel>[,<channel>...] <command>"),
WEECHAT_CMD_ARGS_DESC(
N_("raw[-current]: execute command for channels of current server only"),
- N_("raw[-parted]: execute on parted channels only"),
+ N_("raw[-parted]: execute command on parted channels "
+ "(by default: execute command on active channels only)"),
+ N_("raw[-all]: execute command on all channels (active and parted)"),
N_("raw[-exclude]: exclude some channels (wildcard \"*\" is allowed)"),
N_("raw[-include]: include only some channels (wildcard \"*\" is allowed)"),
N_("command: command to execute (or text to send to buffer if "
@@ -6924,7 +6939,7 @@ irc_command_init ()
N_(" /allchan -include=#linux* hello"),
N_(" close all buffers with parted channels:"),
AI(" /allchan -parted /close")),
- "-current|-parted", &irc_command_allchan, NULL, NULL);
+ "-current|-parted|-all", &irc_command_allchan, NULL, NULL);
weechat_hook_command (
"allpv",
N_("execute a command on all private buffers of all connected servers"),