From ac9dc3b9c80d0dca56e54c48bd8be6520dda5b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 3 Jun 2023 10:01:27 +0200 Subject: [PATCH] irc: add infos "irc_server_cap" and "irc_server_cap_value" (issue #1949) --- ChangeLog.adoc | 1 + po/cs.po | 15 ++++++- po/de.po | 82 +++++++++++------------------------- po/es.po | 15 ++++++- po/fr.po | 13 +++++- po/hu.po | 12 +++++- po/it.po | 15 ++++++- po/ja.po | 15 ++++++- po/pl.po | 15 ++++++- po/pt.po | 15 ++++++- po/pt_BR.po | 12 +++++- po/ru.po | 12 +++++- po/sr.po | 23 +++++++--- po/tr.po | 15 ++++++- po/weechat.pot | 11 ++++- src/plugins/irc/irc-info.c | 86 ++++++++++++++++++++++++++++++++++++++ 16 files changed, 281 insertions(+), 76 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 793a2fd7d..1546d955d 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -60,6 +60,7 @@ New features:: * irc: use key when /joining in open channel buffer (issue #1260) * irc: add option `buffer` in command `/autojoin sort` (issue #1876) * irc: add `${username}` in server options "nicks" and "username", change their default values to use it + * irc: add infos "irc_server_cap" and "irc_server_cap_value" * logger: add option logger.file.log_conditions (issue #1942) * logger: add info "logger_log_file" * relay: rename "ssl" options and protocol to "tls" diff --git a/po/cs.po b/po/cs.po index 6ea06dde6..41349ed6a 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: 2023-05-30 16:39+0200\n" +"POT-Creation-Date: 2023-06-03 09:51+0200\n" "PO-Revision-Date: 2023-05-01 20:23+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -9581,6 +9581,19 @@ msgstr "server,vlasnost" msgid "value of feature, if supported by server (from IRC message 005)" msgstr "hodnota funkce, pokud je podporována serverem (z IRC zprávy 005)" +#, fuzzy +#| msgid "%s%s: client capability, enabled: %s" +msgid "1 if capability is enabled in server" +msgstr "%s%s: schopnost klienta, povoleno: %s" + +msgid "server,capability" +msgstr "" + +#, fuzzy +#| msgid "%s%s: client capability, enabled: %s" +msgid "value of capability, if enabled in server" +msgstr "%s%s: schopnost klienta, povoleno: %s" + msgid "1 if the nick is ignored (message is not displayed)" msgstr "" diff --git a/po/de.po b/po/de.po index 45fbe5621..b00efdc56 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: 2023-05-30 16:39+0200\n" +"POT-Creation-Date: 2023-06-03 09:51+0200\n" "PO-Revision-Date: 2023-05-31 07:17+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -6481,10 +6481,6 @@ msgstr "Alias \"%s\" wurde umbenannt. Der neue Name lautet \"%s\"" msgid "list, add or remove command aliases" msgstr "auflisten, hinzufügen oder entfernen von Alternativnamen" -#| msgid "" -#| "list [] || add [[;...]] || addcompletion " -#| " [[;...]] || del " -#| "[...] || rename " msgid "" "list [] || add [[;...]] || addcompletion " " [[;...]] || del [...] " @@ -6495,42 +6491,6 @@ msgstr "" "|| rename || missing" #, no-c-format -#| msgid "" -#| " list: list aliases (without argument, this list is displayed)\n" -#| " add: add an alias\n" -#| "addcompletion: add an alias with a custom completion\n" -#| " del: delete an alias\n" -#| " rename: rename an alias\n" -#| " completion: completion for alias: by default completion is done with " -#| "target command\n" -#| " note: you can use %%command to use completion of an " -#| "existing command\n" -#| " alias: name of alias\n" -#| " command: command name with arguments (many commands can be " -#| "separated by semicolons)\n" -#| "\n" -#| "Note: in command, special variables are replaced:\n" -#| " $n: argument 'n' (between 1 and 9)\n" -#| " $-m: arguments from 1 to 'm'\n" -#| " $n-: arguments from 'n' to last\n" -#| " $n-m: arguments from 'n' to 'm'\n" -#| " $*: all arguments\n" -#| " $&: all arguments, with \" replaced by \\\"\n" -#| " $~: last argument\n" -#| " $var: where \"var\" is a local variable of buffer (see /buffer " -#| "listvar)\n" -#| " examples: $nick, $channel, $server, $plugin, $name\n" -#| "\n" -#| "Examples:\n" -#| " alias /split to split window horizontally:\n" -#| " /alias add split /window splith\n" -#| " alias /hello to say \"hello\" on all channels but not on #weechat:\n" -#| " /alias add hello /allchan -exclude=#weechat hello\n" -#| " rename alias \"hello\" to \"Hello\":\n" -#| " /alias rename hello Hello\n" -#| " alias /forcejoin to send IRC command \"forcejoin\" with completion of /" -#| "sajoin:\n" -#| " /alias addcompletion %%sajoin forcejoin /quote forcejoin" msgid "" " list: list aliases (without argument, this list is displayed)\n" " add: add an alias\n" @@ -6569,15 +6529,15 @@ msgid "" "sajoin:\n" " /alias addcompletion %%sajoin forcejoin /quote forcejoin" msgstr "" -" list: listet Alternativbefehle auf (ohne Angabe von Argumenten wird " -" diese Liste dargestellt)\n" +" list: listet Alternativbefehle auf (ohne Angabe von Argumenten " +"wird diese Liste dargestellt)\n" " add: fügt einen Alternativbefehl hinzu\n" -"addcompletion: fügt einen Alternativbefehl, mit einer benutzerdefinierten " -" Vervollständigung, hinzu\n" +"addcompletion: fügt einen Alternativbefehl, mit einer benutzerdefinierten " +"Vervollständigung, hinzu\n" " del: entfernt einen Alternativbefehl\n" " rename: ein Alias umbenennen\n" -" missing: fehlende Aliase hinzufügen (unter Verwendung der" -" Standardaliasen)\n" +" missing: fehlende Aliase hinzufügen (unter Verwendung der " +"Standardaliasen)\n" " completion: Vervollständigung für Alternativbefehl: standardmäßig wird " "die Vervollständigung auf den Zielbefehl angewendet\n" " Hinweis: Mit der Variablen \"%%command\" kann eine " @@ -8869,7 +8829,6 @@ msgstr "%s%s: Sie befinden sich nicht in einem Kanal \"%s\"" msgid "Notice" msgstr "Hinweis" -#| msgid "send a CTCP action to the current channel" msgid "send a CTCP action to a nick or channel" msgstr "sendet eine CTCP-Aktion an einen Nick oder Kanal" @@ -11863,7 +11822,6 @@ msgstr "%s%s: unbekannter DCC CHAT-Typ empfangen von %s%s%s: \"%s\"" #. TRANSLATORS: "Action" is an IRC CTCP "ACTION" sent with /me #. TRANSLATORS: "Action" is an IRC CTCP "ACTION" sent with /me or /action -#| msgid "Option" msgid "Action" msgstr "Action" @@ -11931,6 +11889,19 @@ msgstr "" "Wert der Funktion, sofern es vom Server unterstützt wird (durch IRC Message " "005)" +#, fuzzy +#| msgid "%s%s: client capability, enabled: %s" +msgid "1 if capability is enabled in server" +msgstr "%s%s: Clientfähigkeit, aktiviert: %s" + +msgid "server,capability" +msgstr "" + +#, fuzzy +#| msgid "%s%s: client capability, enabled: %s" +msgid "value of capability, if enabled in server" +msgstr "%s%s: Clientfähigkeit, aktiviert: %s" + msgid "1 if the nick is ignored (message is not displayed)" msgstr "1, wenn der Nick ignoriert wird (Meldung wird nicht angezeigt)" @@ -13521,15 +13492,12 @@ msgstr "" "1, falls die automatische Verbindung zu Servern aktiviert ist, 0, wenn sie " "vom Benutzer deaktiviert wurde (Option \"-a\" oder \"--no-connect\")" -#| msgid "" -#| "1 if automatic connection to servers is enabled, 0 if it has been " -#| "disabled by the user (option \"-a\" or \"--no-connect\")" msgid "" "1 if scripts are automatically loaded, 0 if the auto-load has been disabled " "by the user (option \"-s\" or \"--no-script\")" msgstr "" -"1, wenn Skripte automatisch geladen werden, 0, wenn das automatische Laden," -" durch den Benutzer, deaktiviert wurde (Option „-s“ oder „--no-script“)" +"1, wenn Skripte automatisch geladen werden, 0, wenn das automatische Laden, " +"durch den Benutzer, deaktiviert wurde (Option „-s“ oder „--no-script“)" msgid "terminal charset" msgstr "Terminal Zeichensatz" @@ -16043,8 +16011,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat" msgid "" "list|listfull|listdefault || add|addoff|addreplace " -"[\"\" [\"\" [\"\" [\"\" [\"<" -"return_code>\" [\"\"]]]]]] " +"[\"\" [\"\" [\"\" [\"\" [\"\" [\"\"]]]]]] " "|| addinput [] || input|output|recreate || set