1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

irc: add infos "irc_server_cap" and "irc_server_cap_value" (issue #1949)

This commit is contained in:
Sébastien Helleu
2023-06-03 10:01:27 +02:00
parent 911c976f9b
commit ac9dc3b9c8
16 changed files with 281 additions and 76 deletions
+1
View File
@@ -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"
+14 -1
View File
@@ -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 <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\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 ""
+24 -58
View File
@@ -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 <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\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 [<alias>] || add <alias> [<command>[;<command>...]] || addcompletion "
#| "<completion> <alias> [<command>[;<command>...]] || del <alias> "
#| "[<alias>...] || rename <alias> <new_alias>"
msgid ""
"list [<alias>] || add <alias> [<command>[;<command>...]] || addcompletion "
"<completion> <alias> [<command>[;<command>...]] || del <alias> [<alias>...] "
@@ -6495,42 +6491,6 @@ msgstr ""
"|| rename <alias> <new_alias> || 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 <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
"return_code>\" [\"<post_action>\"]]]]]] "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
"all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del "
@@ -16052,8 +16019,7 @@ msgid ""
"monitor [<filter>]"
msgstr ""
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
"return_code>\" [\"<post_action>\"]]]]]] "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
"all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del "
+14 -1
View File
@@ -22,7 +22,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: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10303,6 +10303,19 @@ msgstr ""
"valor de la característica, si es soportada por el servidor (desde el "
"mensaje IRC 005)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: capabilidad del cliente, habilitado: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: capabilidad del cliente, habilitado: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+11 -2
View File
@@ -21,8 +21,8 @@ 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"
"PO-Revision-Date: 2023-05-30 20:49+0200\n"
"POT-Creation-Date: 2023-06-03 09:51+0200\n"
"PO-Revision-Date: 2023-06-03 09:52+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -11644,6 +11644,15 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
"valeur de la fonctionnalité, si supportée par le serveur (du message IRC 005)"
msgid "1 if capability is enabled in server"
msgstr "1 si la capacité est activée dans le serveur"
msgid "server,capability"
msgstr "serveur,capacité"
msgid "value of capability, if enabled in server"
msgstr "valeur de la capacité, si activée dans le serveur"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1 si le pseudo est ignoré (le message n'est pas affiché)"
+11 -1
View File
@@ -20,7 +20,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: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9030,6 +9030,16 @@ msgstr "cél: szerver neve"
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
#, fuzzy
msgid "1 if capability is enabled in server"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
msgid "server,capability"
msgstr ""
msgid "value of capability, if enabled in server"
msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+14 -1
View File
@@ -20,7 +20,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: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10033,6 +10033,19 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
"valore della caratteristica, se supportata dal servre (dal messaggio IRC 005)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: capacità del client, abilitata: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: capacità del client, abilitata: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+14 -1
View File
@@ -20,7 +20,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: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -11217,6 +11217,19 @@ msgstr "サーバ、機能"
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "サーバがサポートする場合、機能の値 (IRC メッセージ 005 を使う)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: クライアントの機能、有効化されたもの: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: クライアントの機能、有効化されたもの: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+14 -1
View File
@@ -22,7 +22,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: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -12214,6 +12214,19 @@ msgstr "serwer,właściwość"
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "wartość opcji, jeśli jest wpierana przez serwer (z wiadomości IRC 005)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: możliwości klienta, włączone: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: możliwości klienta, włączone: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1 jeśli nick jest ignorowany (wiadomość nie jest wyświetlana)"
+14 -1
View File
@@ -20,7 +20,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: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -10990,6 +10990,19 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
"valor da funcionalidade, se suportada pelo servidor (da mensagem de IRC 005)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: capacidade do cliente, ativado: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: capacidade do cliente, ativado: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+11 -1
View File
@@ -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: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9569,6 +9569,16 @@ msgstr ""
"valor da funcionalidade, se suportada pelo servidor (da \"message 005\" do "
"IRC)"
#, fuzzy
msgid "1 if capability is enabled in server"
msgstr "%s: script removido: %s"
msgid "server,capability"
msgstr ""
msgid "value of capability, if enabled in server"
msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+11 -1
View File
@@ -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: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9067,6 +9067,16 @@ msgstr "цель: название сервера"
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
#, fuzzy
msgid "1 if capability is enabled in server"
msgstr "Не могу записать лог-файл \"%s\"\n"
msgid "server,capability"
msgstr ""
msgid "value of capability, if enabled in server"
msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+18 -5
View File
@@ -20,7 +20,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-14 15:29+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -11341,6 +11341,19 @@ msgstr "сервер,могућност"
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr "вредност могућности, ако је сервер подржава (из IRC поруке 005)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: могућност клијента, укључено: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: могућност клијента, укључено: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1 ако се надимак игнорише (порука се не приказује)"
@@ -14039,8 +14052,8 @@ msgid ""
"%s%s: no TLS certificate/key found (option relay.network.tls_cert_key is "
"empty)"
msgstr ""
"%s%s: није пронађен ниједан TLS сертификат/кључ (опција relay.network.tls_"
"cert_key је празна)"
"%s%s: није пронађен ниједан TLS сертификат/кључ (опција relay.network."
"tls_cert_key је празна)"
#, c-format
msgid "%s: TLS certificate and key have been set"
@@ -14055,8 +14068,8 @@ msgid ""
"%s%s: error: file with TLS certificate/key is not readable: \"%s\" (option "
"relay.network.tls_cert_key)"
msgstr ""
"%s%s: грешка: фајл са TLS сертификатом/кључем не може да се чита: „%s” "
"(опција relay.network.tls_cert_key)"
"%s%s: грешка: фајл са TLS сертификатом/кључем не може да се чита: "
"„%s” (опција relay.network.tls_cert_key)"
#, c-format
msgid "%s%s: unable to initialize priority for TLS"
+14 -1
View File
@@ -20,7 +20,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: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -11776,6 +11776,19 @@ msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
"feature değeri, sunucu tarafından destekleniyorsa (IRC 005 iletisinden)"
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "1 if capability is enabled in server"
msgstr "%s%s: İstemci yeteneği: etkin: %s"
msgid "server,capability"
msgstr ""
#, fuzzy
#| msgid "%s%s: client capability, enabled: %s"
msgid "value of capability, if enabled in server"
msgstr "%s%s: İstemci yeteneği: etkin: %s"
msgid "1 if the nick is ignored (message is not displayed)"
msgstr "1 eğer takma ad yok sayılıyorsa (ileti görüntülenmez)"
+10 -1
View File
@@ -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: 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"
@@ -8099,6 +8099,15 @@ msgstr ""
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
msgid "1 if capability is enabled in server"
msgstr ""
msgid "server,capability"
msgstr ""
msgid "value of capability, if enabled in server"
msgstr ""
msgid "1 if the nick is ignored (message is not displayed)"
msgstr ""
+86
View File
@@ -401,6 +401,82 @@ irc_info_info_irc_server_isupport_value_cb (const void *pointer, void *data,
return (isupport_value) ? strdup (isupport_value) : NULL;
}
/*
* Returns IRC info "irc_server_cap".
*/
char *
irc_info_info_irc_server_cap_cb (const void *pointer, void *data,
const char *info_name,
const char *arguments)
{
char *pos_comma, *server;
int has_cap;
struct t_irc_server *ptr_server;
/* make C compiler happy */
(void) pointer;
(void) data;
(void) info_name;
has_cap = 0;
pos_comma = strchr (arguments, ',');
if (pos_comma)
{
server = weechat_strndup (arguments, pos_comma - arguments);
if (server)
{
ptr_server = irc_server_search (server);
if (ptr_server)
{
has_cap = weechat_hashtable_has_key (ptr_server->cap_list,
pos_comma + 1);
}
free (server);
}
}
return (has_cap) ? strdup ("1") : NULL;
}
/*
* Returns IRC info "irc_server_cap_value".
*/
char *
irc_info_info_irc_server_cap_value_cb (const void *pointer, void *data,
const char *info_name,
const char *arguments)
{
char *pos_comma, *server;
const char *cap_value;
struct t_irc_server *ptr_server;
/* make C compiler happy */
(void) pointer;
(void) data;
(void) info_name;
cap_value = NULL;
pos_comma = strchr (arguments, ',');
if (pos_comma)
{
server = weechat_strndup (arguments, pos_comma - arguments);
if (server)
{
ptr_server = irc_server_search (server);
if (ptr_server)
{
cap_value = weechat_hashtable_get (ptr_server->cap_list,
pos_comma + 1);
}
free (server);
}
}
return (cap_value) ? strdup (cap_value) : NULL;
}
/*
* Returns IRC info "irc_is_message_ignored".
*/
@@ -1171,6 +1247,16 @@ irc_info_init ()
N_("value of feature, if supported by server (from IRC message 005)"),
N_("server,feature"),
&irc_info_info_irc_server_isupport_value_cb, NULL, NULL);
weechat_hook_info (
"irc_server_cap",
N_("1 if capability is enabled in server"),
N_("server,capability"),
&irc_info_info_irc_server_cap_cb, NULL, NULL);
weechat_hook_info (
"irc_server_cap_value",
N_("value of capability, if enabled in server"),
N_("server,capability"),
&irc_info_info_irc_server_cap_value_cb, NULL, NULL);
weechat_hook_info (
"irc_is_message_ignored",
N_("1 if the nick is ignored (message is not displayed)"),