diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-05-26 10:44:23 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-05-26 10:44:23 +0200 |
commit | 62ab68715db925914954f2d721d690aee12426d4 (patch) | |
tree | 4265f9d22d228fa1f18648497e4857e8d57bc0e9 | |
parent | 603c44a64d771563ab90d21f44a9854d98bb977c (diff) | |
download | weechat-62ab68715db925914954f2d721d690aee12426d4.zip |
relay: add infos "relay_api_version" and "relay_api_version_number"
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | po/cs.po | 12 | ||||
-rw-r--r-- | po/de.po | 114 | ||||
-rw-r--r-- | po/es.po | 12 | ||||
-rw-r--r-- | po/fr.po | 10 | ||||
-rw-r--r-- | po/hu.po | 10 | ||||
-rw-r--r-- | po/it.po | 12 | ||||
-rw-r--r-- | po/ja.po | 12 | ||||
-rw-r--r-- | po/pl.po | 140 | ||||
-rw-r--r-- | po/pt.po | 12 | ||||
-rw-r--r-- | po/pt_BR.po | 12 | ||||
-rw-r--r-- | po/ru.po | 10 | ||||
-rw-r--r-- | po/sr.po | 12 | ||||
-rw-r--r-- | po/tr.po | 12 | ||||
-rw-r--r-- | po/weechat.pot | 8 | ||||
-rw-r--r-- | src/plugins/relay/relay-info.c | 65 |
16 files changed, 327 insertions, 132 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c710cf47b..ceb12fd32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # WeeChat ChangeLog +## Version 4.4.0 (under dev) + +### Added + +- relay: add infos "relay_api_version" and "relay_api_version_number" + ## Version 4.3.0 (2024-05-26) _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._ @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -14629,6 +14629,16 @@ msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s: websocket klient %s%s%s má skutečnou IP addresu \"%s\"" #, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "verze WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "verze WeeChat (jako číslo)" + +#, fuzzy msgid "number of clients for relay" msgstr "Klienti pro přenos:" @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-05-24 10:45+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" @@ -2108,11 +2108,11 @@ msgstr "" "undOperatoren (+, -, *, /, //, %, **)" msgid "" -" - ${random:min,max}: a random integer number between \"min\" and " -"\"max\" (inclusive)" +" - ${random:min,max}: a random integer number between \"min\" and \"max\" " +"(inclusive)" msgstr "" -" - ${random:min,max}: eine zufällige ganze Zahl zwischen \"min\" " -"und\"max\" (einschließlich)" +" - ${random:min,max}: eine zufällige ganze Zahl zwischen \"min\" und\"max\" " +"(einschließlich)" msgid " - ${translate:string}: the translated string" msgstr " - ${translate:string}: die übersetzte Zeichenkette" @@ -3043,8 +3043,8 @@ msgid "" " raw[chat(xxx)]: chat area for buffer with name \"xxx\" (full name " "including plugin)" msgstr "" -" raw[chat(xxx)]: Chatbereich für einen Buffer mit dem Namen " -"\"xxx\" (vollständiger Name, mit Erweiterung)" +" raw[chat(xxx)]: Chatbereich für einen Buffer mit dem Namen \"xxx\" " +"(vollständiger Name, mit Erweiterung)" msgid " raw[bar(*)]: any bar" msgstr " raw[bar(*)]: beliebige Bar" @@ -4976,8 +4976,8 @@ msgstr "" "\"-yes\" ausgeführt werden (siehe /help quit)" msgid "" -"if set, /upgrade command must be confirmed with extra argument \"-" -"yes\" (see /help upgrade)" +"if set, /upgrade command must be confirmed with extra argument \"-yes\" " +"(see /help upgrade)" msgstr "" "ist diese Einstellung aktiviert, muss der \"/upgrade\" Befehl mit dem " "Argument \"-yes\" ausgeführt werden (siehe /help upgrade)" @@ -5033,10 +5033,10 @@ msgid "" "weechat.color.emphasized* are used" msgstr "" "Attribute um Textpassagen hervorzuheben: Das setzen von ein- oder mehreren " -"Attributen ist möglich (\"%\" für blinkenden Text, \".\" zum " -"\"dimmen\" (halbe Helligkeit),\"*\" für fett, \"!\" für invertiert, \"/\" " -"für kursiv, \"_\" für unterstrichen); wenn die Zeichenkette leer ist, werden " -"die Farben genutzt die durch weechat.color.emphasized* definiert sind" +"Attributen ist möglich (\"%\" für blinkenden Text, \".\" zum \"dimmen\" " +"(halbe Helligkeit),\"*\" für fett, \"!\" für invertiert, \"/\" für kursiv, " +"\"_\" für unterstrichen); wenn die Zeichenkette leer ist, werden die Farben " +"genutzt die durch weechat.color.emphasized* definiert sind" msgid "" "comma separated list of words to highlight; case insensitive comparison (use " @@ -7008,24 +7008,24 @@ msgstr "" "Bedingungen um eine Infobar anzuzeigen. Eine einfache Bedingung: \"active\", " "\"inactive\", \"nicklist\" (Fenster muss aktiv/inaktiv sein oder der Buffer " "enthält eine Benutzerliste), oder man nutzt einen Ausdruck mit Bedingungen " -"(siehe /help eval). Beispiele: \"${nicklist} && ${info:term_width} > " -"100\" (lokale Variablen für den Ausdruck sind ${active}, ${inactive} und " +"(siehe /help eval). Beispiele: \"${nicklist} && ${info:term_width} > 100\" " +"(lokale Variablen für den Ausdruck sind ${active}, ${inactive} und " "${nicklist})" msgid "bar position (bottom, top, left, right)" msgstr "Position der Infobar (unten, oben, links, rechts)" msgid "" -"bar filling direction (\"horizontal\" (from left to right) or " -"\"vertical\" (from top to bottom)) when bar position is top or bottom" +"bar filling direction (\"horizontal\" (from left to right) or \"vertical\" " +"(from top to bottom)) when bar position is top or bottom" msgstr "" "Darstellung innerhalb der Infobar, falls die Infobar oben/unten angezeigt " "wird (\"horizontal\" (von links nach rechts) oder \"vertikal\" (von oben " "nach unten))" msgid "" -"bar filling direction (\"horizontal\" (from left to right) or " -"\"vertical\" (from top to bottom)) when bar position is left or right" +"bar filling direction (\"horizontal\" (from left to right) or \"vertical\" " +"(from top to bottom)) when bar position is left or right" msgstr "" "Darstellung innerhalb der Infobar, falls die Infobar links/rechts angezeigt " "wird (\"horizontal\" (von links nach rechts) oder \"vertikal\" (von oben " @@ -7065,9 +7065,9 @@ msgid "separator line between bar and other bars/windows" msgstr "Trennzeichen zwischen verschieden Infobars und Fenstern" msgid "" -"items of bar, they can be separated by comma (space between items) or \"+" -"\" (glued items); special syntax \"@buffer:item\" can be used to force " -"buffer used when displaying the bar item" +"items of bar, they can be separated by comma (space between items) or \"+\" " +"(glued items); special syntax \"@buffer:item\" can be used to force buffer " +"used when displaying the bar item" msgstr "" "Items einer Bar können entweder durch Kommata (\",\") voneinander getrennt " "(setzt ein Leerzeichen zwischen die Items), oder durch ein \"+\" Zeichen " @@ -8811,8 +8811,8 @@ msgid " - ${description}: option description (translated)" msgstr " - ${description}: Beschreibung der Option (übersetzt)" msgid "" -" - ${description2}: option description (translated), \"(no " -"description)\" (translated) if there's no description" +" - ${description2}: option description (translated), \"(no description)\" " +"(translated) if there's no description" msgstr "" " - ${description2}: Beschreibung der Option (übersetzt), \"(keine " "Beschreibung)\" (übersetzt) falls keine Beschreibung vorhanden" @@ -9503,8 +9503,8 @@ msgstr "" #, c-format msgid "" -"%s%s: if you want to add a standard server, use the command \"/server " -"add\" (see /help server); if you really want to add a temporary server (NOT " +"%s%s: if you want to add a standard server, use the command \"/server add\" " +"(see /help server); if you really want to add a temporary server (NOT " "SAVED), turn on the option irc.look.temporary_servers" msgstr "" "%s%s: falls ein Standardserver erstellt werden soll, muss der Befehl \"/" @@ -12667,8 +12667,8 @@ msgid "" "interval between two checks for notify with IRC command \"whois\" (in " "minutes)" msgstr "" -"Intervall zwischen zwei notify Überprüfungen mit dem IRC Befehl " -"\"whois\" (in Minuten)" +"Intervall zwischen zwei notify Überprüfungen mit dem IRC Befehl \"whois\" " +"(in Minuten)" msgid "" "cause SASL authentication failure when SASL is requested but unavailable on " @@ -15016,19 +15016,19 @@ msgstr "%s%s: Interpreter kann nicht freigeben werden" #, c-format msgid "" -"%s%s: too few arguments received from client %s%s%s for resource " -"\"%s\" (received: %d arguments, expected: at least %d)" +"%s%s: too few arguments received from client %s%s%s for resource \"%s\" " +"(received: %d arguments, expected: at least %d)" msgstr "" "%s%s: Zu wenige Argumente von Client %s%s%s für die Ressource \"%s\" " "erhalten (Empfangen: %d Argumente, mindestens erwartet: %d)" #, c-format msgid "" -"%s%s: too many arguments received from client %s%s%s for resource " -"\"%s\" (received: %d arguments, expected: at most %d)" +"%s%s: too many arguments received from client %s%s%s for resource \"%s\" " +"(received: %d arguments, expected: at most %d)" msgstr "" -"%s%s: Zu viele Argumente von Client erhalten %s%s%s für die Ressource " -"\"%s\" (Empfangen: %d Argumente, höchstens erwartet: %d)" +"%s%s: Zu viele Argumente von Client erhalten %s%s%s für die Ressource \"%s\" " +"(Empfangen: %d Argumente, höchstens erwartet: %d)" #, c-format msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" @@ -16067,6 +16067,16 @@ msgstr "%s%s: Ursprung „%s“ ist für Websocket nicht zulässig" msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s: Websocket Client %s%s%s hat die reale IP Adresse \"%s\"" +#, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "WeeChat-Version" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "WeeChat-Version (als Zahl)" + msgid "number of clients for relay" msgstr "Anzahl an Clients für Relay" @@ -16107,8 +16117,8 @@ msgid "" "%s%s: error: file with TLS certificate/key is not readable: \"%s\" (option " "relay.network.tls_cert_key)" msgstr "" -"%s%s: Fehler: Datei mit TLS Zertifikat/Schlüssel ist nicht lesbar: " -"\"%s\" (Option relay.network.tls_cert_key)" +"%s%s: Fehler: Datei mit TLS Zertifikat/Schlüssel ist nicht lesbar: \"%s\" " +"(Option relay.network.tls_cert_key)" #, c-format msgid "%s%s: unable to initialize priority for TLS" @@ -16252,8 +16262,8 @@ msgstr "" #, c-format msgid "" -"%s%s: too few arguments received from client %s%s%s for command " -"\"%s\" (received: %d arguments, expected: at least %d)" +"%s%s: too few arguments received from client %s%s%s for command \"%s\" " +"(received: %d arguments, expected: at least %d)" msgstr "" "%s%s: Zu wenige Argumente von Client %s%s%s für den Befehl \"%s\" erhalten " "(Empfangen: %d Argumente, mindestens Erwartet: %d)" @@ -17422,22 +17432,22 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat" #. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated msgid "" "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " -"<name> <hook> " -"[\"<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>|" -"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || " -"show <name> || del <name>|<mask> [<name>|<mask>...] || restore <name>|<mask> " -"[<name>|<mask>...] || default -yes || monitor [<filter>]" +"<name> <hook> [\"<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>|<mask> [<name>|<mask>...]] || " +"restart <name>|<mask> [<name>|<mask>...] || show <name> || del <name>|<mask> " +"[<name>|<mask>...] || restore <name>|<mask> [<name>|<mask>...] || default -" +"yes || monitor [<filter>]" msgstr "" "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " -"<name> <hook> " -"[\"<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>|" -"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || " -"show <name> || del <name>|<mask> [<name>|<mask>...] || restore <name>|<mask> " -"[<name>|<mask>...] || default -yes || monitor [<filter>]" +"<name> <hook> [\"<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>|<mask> [<name>|<mask>...]] || " +"restart <name>|<mask> [<name>|<mask>...] || show <name> || del <name>|<mask> " +"[<name>|<mask>...] || restore <name>|<mask> [<name>|<mask>...] || default -" +"yes || monitor [<filter>]" msgid "raw[list]: list triggers (without argument, this list is displayed)" msgstr "" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -14959,6 +14959,16 @@ msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "" #, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "versión de WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "versión de WeeChat (como un número)" + +#, fuzzy msgid "number of clients for relay" msgstr "Lista de clientes a retransmitir" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" -"PO-Revision-Date: 2024-05-23 21:02+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" +"PO-Revision-Date: 2024-05-26 10:36+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -15760,6 +15760,12 @@ msgstr "%s%s : l'origine \"%s\" n'est pas autorisée pour le websocket" msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s : le client websocket %s%s%s a pour adresse IP réelle \"%s\"" +msgid "relay API version" +msgstr "version de l'API relay" + +msgid "relay API version (as number)" +msgstr "version de l'API relay (sous forme de nombre)" + msgid "number of clients for relay" msgstr "nombre de clients pour le relai" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -14003,6 +14003,14 @@ msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "" #, fuzzy +msgid "relay API version" +msgstr "WeeChat szlogen" + +#, fuzzy +msgid "relay API version (as number)" +msgstr "WeeChat szlogen" + +#, fuzzy msgid "number of clients for relay" msgstr "Nincs szerver.\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -15001,6 +15001,16 @@ msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "" #, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "versione di WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "versione di WeeChat (come numero)" + +#, fuzzy msgid "number of clients for relay" msgstr "Elenco dei client per il relay" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -15466,6 +15466,16 @@ msgstr "" "%s: ウェブソケットクライアント %s%s%s は真の IP アドレス \"%s\" を持っていま" "す" +#, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "WeeChat のバージョン" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "WeeChat のバージョン (数字)" + msgid "number of clients for relay" msgstr "中継するクライアントのリスト" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-05-25 13:34+0200\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -813,8 +813,8 @@ msgstr "%sNie można ustawić opcji \"%s\" dla proxy \"%s\"" msgid "" "%sYou must confirm /%s command with extra argument \"-yes\" (see /help %s)" msgstr "" -"%sMusisz potwierdzić użycie komendy /%s dodatkowym argumentem \"-" -"yes\" (zobacz /help %s)" +"%sMusisz potwierdzić użycie komendy /%s dodatkowym argumentem \"-yes\" " +"(zobacz /help %s)" #, c-format msgid "Options reloaded from %s" @@ -2044,8 +2044,8 @@ msgstr "" "*, /, //, %, **)" msgid "" -" - ${random:min,max}: a random integer number between \"min\" and " -"\"max\" (inclusive)" +" - ${random:min,max}: a random integer number between \"min\" and \"max\" " +"(inclusive)" msgstr "" " - ${random:min,max}: losowa liczba całkowita z przedziału od „min” do " "„max” (włącznie)" @@ -4741,8 +4741,8 @@ msgstr "" "\"-yes\" (zobacz /help quit)" msgid "" -"if set, /upgrade command must be confirmed with extra argument \"-" -"yes\" (see /help upgrade)" +"if set, /upgrade command must be confirmed with extra argument \"-yes\" " +"(see /help upgrade)" msgstr "" "jeśli ustawione, komenda /upgrade musi być potwierdzona dodatkowym " "argumentem \"-yes\" (zobacz /help upgrade)" @@ -6672,15 +6672,15 @@ msgid "bar position (bottom, top, left, right)" msgstr "pozycja paska (bottom (dół), top (góra), left (lewo), right (prawo))" msgid "" -"bar filling direction (\"horizontal\" (from left to right) or " -"\"vertical\" (from top to bottom)) when bar position is top or bottom" +"bar filling direction (\"horizontal\" (from left to right) or \"vertical\" " +"(from top to bottom)) when bar position is top or bottom" msgstr "" "kierunek wypełniania paska (\"horizontal\" (od lewej do prawej) lub " "\"vertical\" (od góry do dołu)), kiedy pozycja paska to góra albo dół" msgid "" -"bar filling direction (\"horizontal\" (from left to right) or " -"\"vertical\" (from top to bottom)) when bar position is left or right" +"bar filling direction (\"horizontal\" (from left to right) or \"vertical\" " +"(from top to bottom)) when bar position is left or right" msgstr "" "kierunek wypełniania paska (\"horizontal\" (od lewej do prawej) lub " "\"vertical\" (od góry do dołu)), kiedy pozycja paska to lewo albo prawo" @@ -6719,9 +6719,9 @@ msgid "separator line between bar and other bars/windows" msgstr "separator pomiędzy paskiem a innymi paskami/oknami" msgid "" -"items of bar, they can be separated by comma (space between items) or \"+" -"\" (glued items); special syntax \"@buffer:item\" can be used to force " -"buffer used when displaying the bar item" +"items of bar, they can be separated by comma (space between items) or \"+\" " +"(glued items); special syntax \"@buffer:item\" can be used to force buffer " +"used when displaying the bar item" msgstr "" "elementy paska, mogą być oddzielone przecinkiem (spacja pomiędzy elementami) " "lub \"+\" (skleja elementy); specjalna składnia \"@buffer:item\" może być " @@ -7956,8 +7956,8 @@ msgid "" msgstr "" "powłoka używana przez komendę \"/exec -sh\"; może to być nazwa powłoki jeśli " "znajduje się ona w PATH (na przykład \"bash\") lub ścieżka absolutna (na " -"przykład \"/bin/bash\"); jeśli wartość jest pusta, zostanie użyte " -"\"sh\" (uwaga: zawartość jest przetwarzana, zobacz /help eval)" +"przykład \"/bin/bash\"); jeśli wartość jest pusta, zostanie użyte \"sh\" " +"(uwaga: zawartość jest przetwarzana, zobacz /help eval)" msgid "text color for a finished command flag in list of commands" msgstr "kolor tekstu dla flagi zakończonej komendy na liście komend" @@ -8380,8 +8380,8 @@ msgid " - ${description}: option description (translated)" msgstr " - ${description}: opis opcji (przetłumaczony)" msgid "" -" - ${description2}: option description (translated), \"(no " -"description)\" (translated) if there's no description" +" - ${description2}: option description (translated), \"(no description)\" " +"(translated) if there's no description" msgstr "" " - ${description2}: opis opcji (przetłumaczony), „(brak opisu)” jeśli nie " "ma opisu" @@ -9046,13 +9046,13 @@ msgstr "" #, c-format msgid "" -"%s%s: if you want to add a standard server, use the command \"/server " -"add\" (see /help server); if you really want to add a temporary server (NOT " +"%s%s: if you want to add a standard server, use the command \"/server add\" " +"(see /help server); if you really want to add a temporary server (NOT " "SAVED), turn on the option irc.look.temporary_servers" msgstr "" -"%s%s: jeśli chcesz dodać standardowy serwer, użyj komendy \"/server " -"add\" (zobacz /help server); jeśli naprawdę chcesz utworzyć serwer " -"tymczasowy (NIE ZAPISANY), włącz opcję irc.look.temporary_servers" +"%s%s: jeśli chcesz dodać standardowy serwer, użyj komendy \"/server add\" " +"(zobacz /help server); jeśli naprawdę chcesz utworzyć serwer tymczasowy (NIE " +"ZAPISANY), włącz opcję irc.look.temporary_servers" #, c-format msgid "%s%s: \"%s\" command can not be executed on a server buffer" @@ -11060,9 +11060,9 @@ msgid "" "file with ECC private key for mechanism \"ecdsa-nist256p-challenge\" (path " "is evaluated, see function string_eval_path_home in plugin API reference)" msgstr "" -"plik z kluczem prywatnym ECC dla mechanizmu \"ecdsa-nist256p-" -"challenge\" (ścieżka jest przetwarzana, zobacz funkcję string_eval_path_home " -"w opisie API wtyczek)" +"plik z kluczem prywatnym ECC dla mechanizmu \"ecdsa-nist256p-challenge\" " +"(ścieżka jest przetwarzana, zobacz funkcję string_eval_path_home w opisie " +"API wtyczek)" msgid "timeout (in seconds) before giving up SASL authentication" msgstr "" @@ -14308,19 +14308,19 @@ msgstr "%s%s: nie można zwolnić interpretera" #, c-format msgid "" -"%s%s: too few arguments received from client %s%s%s for resource " -"\"%s\" (received: %d arguments, expected: at least %d)" +"%s%s: too few arguments received from client %s%s%s for resource \"%s\" " +"(received: %d arguments, expected: at least %d)" msgstr "" -"%s%s: otrzymano za mało argumentów od klienta %s%s%s dla zasobu " -"„%s” (otrzymano: %d argumentów, spodziewano się: przynajmniej %d)" +"%s%s: otrzymano za mało argumentów od klienta %s%s%s dla zasobu „%s” " +"(otrzymano: %d argumentów, spodziewano się: przynajmniej %d)" #, c-format msgid "" -"%s%s: too many arguments received from client %s%s%s for resource " -"\"%s\" (received: %d arguments, expected: at most %d)" +"%s%s: too many arguments received from client %s%s%s for resource \"%s\" " +"(received: %d arguments, expected: at most %d)" msgstr "" -"%s%s: otrzymano za mało argumentów od klienta %s%s%s dla zasobu " -"„%s” (otrzymano: %d argumentów, spodziewano się: najwyżej %d)" +"%s%s: otrzymano za mało argumentów od klienta %s%s%s dla zasobu „%s” " +"(otrzymano: %d argumentów, spodziewano się: najwyżej %d)" #, c-format msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" @@ -15206,8 +15206,8 @@ msgid "" "(examples: \"*\", \"pbkdf2*\", \"*,!plain\")" msgstr "" "oddzielona przecinkami lista algorytmów hashujących używanych dla " -"uwierzytelnienia hasłem w protokole weechat, dostępne wartości: " -"\"plain\" (hasło w postaci jawnej, nie zahashowane), \"sha256\", \"sha512\", " +"uwierzytelnienia hasłem w protokole weechat, dostępne wartości: \"plain\" " +"(hasło w postaci jawnej, nie zahashowane), \"sha256\", \"sha512\", " "\"pbkdf2+sha256\", \"pbkdf2+sha512\", \"*\" oznacza wszystkie algorytmy, " "nazwa zaczynająca się od \"!\" oznacza wartość negatywną w celu uniknięcia " "użycia algorytmu, znak \"*\" może zostać użyty w nazwie (przykłady: \"*\", " @@ -15335,6 +15335,16 @@ msgstr "%s%s: źródło „%s” niedozwolone dla websocketu" msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s: klient websocket %s%s%s posiada adres IP \"%s\"" +#, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "Wersja WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "Wersja WeeChat (jako liczba)" + msgid "number of clients for relay" msgstr "liczba podłączonych klientów" @@ -15375,8 +15385,8 @@ msgid "" "%s%s: error: file with TLS certificate/key is not readable: \"%s\" (option " "relay.network.tls_cert_key)" msgstr "" -"%s%s: błąd: nie można odczytać pliku z certyfikatem/kluczem TLS: " -"\"%s\" (opcja relay.network.tls_cert_key)" +"%s%s: błąd: nie można odczytać pliku z certyfikatem/kluczem TLS: \"%s\" " +"(opcja relay.network.tls_cert_key)" #, c-format msgid "%s%s: unable to initialize priority for TLS" @@ -15526,11 +15536,11 @@ msgstr "%s%s: nie udało się wykonać komendy \"%s\" dla klienta %s%s%s" #, c-format msgid "" -"%s%s: too few arguments received from client %s%s%s for command " -"\"%s\" (received: %d arguments, expected: at least %d)" +"%s%s: too few arguments received from client %s%s%s for command \"%s\" " +"(received: %d arguments, expected: at least %d)" msgstr "" -"%s%s: otrzymano za mało argumentów od klienta %s%s%s dla komendy " -"\"%s\" (otrzymano: %d argumentów, spodziewano się: przynajmniej %d)" +"%s%s: otrzymano za mało argumentów od klienta %s%s%s dla komendy \"%s\" " +"(otrzymano: %d argumentów, spodziewano się: przynajmniej %d)" msgid "Support of ruby scripts" msgstr "Wsparcie dla skryptów ruby" @@ -16631,23 +16641,22 @@ msgstr "zarządzaj triggerami, scyzorykiem WeeChat" #. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated msgid "" "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " -"<name> <hook> " -"[\"<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>|" -"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || " -"show <name> || del <name>|<mask> [<name>|<mask>...] || restore <name>|<mask> " -"[<name>|<mask>...] || default -yes || monitor [<filter>]" +"<name> <hook> [\"<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>|<mask> [<name>|<mask>...]] || " +"restart <name>|<mask> [<name>|<mask>...] || show <name> || del <name>|<mask> " +"[<name>|<mask>...] || restore <name>|<mask> [<name>|<mask>...] || default -" +"yes || monitor [<filter>]" msgstr "" "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " -"<nazwa> <hook> " -"[\"<argumenty>\" [\"<warunki>\" [\"<regex>\" [\"<komenda>\" [\"<zwracany_kod>\" [\"<post_action>\"]]]]]] " -"|| addinput [<hook>] || input|output|recreate <nazwa> || set <nazwa> <opcja> " -"<wartość> || rename|copy <nazwa> <nowa_nazwa> || enable|disable|toggle " -"[<nazwa>|<maska> [<nazwa>|<maska>...]] || restart <nazwa>|<maska> [<nazwa>|" -"<maska>...] || show <nazwa> || del <nazwa>|<maska> [<nazwa>|<maska>...] || " -"restore <nazwa>|<maska> [<nazwa>|<maska>...] || default -yes || monitor " -"[<filtr>]" +"<nazwa> <hook> [\"<argumenty>\" [\"<warunki>\" [\"<regex>\" [\"<komenda>\" " +"[\"<zwracany_kod>\" [\"<post_action>\"]]]]]] || addinput [<hook>] || input|" +"output|recreate <nazwa> || set <nazwa> <opcja> <wartość> || rename|copy " +"<nazwa> <nowa_nazwa> || enable|disable|toggle [<nazwa>|<maska> [<nazwa>|" +"<maska>...]] || restart <nazwa>|<maska> [<nazwa>|<maska>...] || show <nazwa> " +"|| del <nazwa>|<maska> [<nazwa>|<maska>...] || restore <nazwa>|<maska> " +"[<nazwa>|<maska>...] || default -yes || monitor [<filtr>]" msgid "raw[list]: list triggers (without argument, this list is displayed)" msgstr "" @@ -17023,15 +17032,14 @@ msgstr "" "zastępuje tekst za pomocą rozszerzonego wyrażenia regularnego POSIX " "(następuje to tylko wtedy, jeśli warunki są spełnione i przed wykonaniem " "komendy) (uwaga: zawartość jest przetwarzana, kiedy trigger jest " -"uruchamiany, zobacz /help eval); format to: \"/regex/zastąp/" -"zmienna\" (zmienna to zmienna w tablicy hashy do zamiany, jest to " -"opcjonalne), wiele wyrażeń można oddzielić spacja, na przykład: \"/regex1/" -"replace1/var1 /regex2/replace2/var2\"; wyescapowane znaki są interpretowane " -"w wyrażeniu (na przykład \"\\n\"); separator \"/\" może być zastąpiony " -"dowolnym znakiem (jednym lub więcej identycznych znaków); pasujące grupy " -"mogą być użyte w zastępowaniu: ${re:0} do ${re:99}, ${re:+} dla ostatniego " -"dopasowania i ${hide:c,${re:N}} do zastąpienia wszystkich znaków w grupie N " -"znakiem 'c'" +"uruchamiany, zobacz /help eval); format to: \"/regex/zastąp/zmienna\" " +"(zmienna to zmienna w tablicy hashy do zamiany, jest to opcjonalne), wiele " +"wyrażeń można oddzielić spacja, na przykład: \"/regex1/replace1/var1 /regex2/" +"replace2/var2\"; wyescapowane znaki są interpretowane w wyrażeniu (na " +"przykład \"\\n\"); separator \"/\" może być zastąpiony dowolnym znakiem " +"(jednym lub więcej identycznych znaków); pasujące grupy mogą być użyte w " +"zastępowaniu: ${re:0} do ${re:99}, ${re:+} dla ostatniego dopasowania i " +"${hide:c,${re:N}} do zastąpienia wszystkich znaków w grupie N znakiem 'c'" msgid "" "command(s) to run if conditions are OK, after regex replacements (many " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -15350,6 +15350,16 @@ msgstr "%s%s: a origem \"%s\" não é permitida pelo websocket" msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s: o cliente websocket %s%s%s tem endereço IP real \"%s\"" +#, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "versão do WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "versão do WeeChat (forma numérica)" + msgid "number of clients for relay" msgstr "número de cliente para reencaminhar" diff --git a/po/pt_BR.po b/po/pt_BR.po index aa00987e2..68de15cb1 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-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -14466,6 +14466,16 @@ msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "" #, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "versão do WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "versão do WeeChat (como um número)" + +#, fuzzy msgid "number of clients for relay" msgstr "numero de clientes para o relay" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -14054,6 +14054,14 @@ msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "" #, fuzzy +msgid "relay API version" +msgstr "слоган WeeChat" + +#, fuzzy +msgid "relay API version (as number)" +msgstr "слоган WeeChat" + +#, fuzzy msgid "number of clients for relay" msgstr "Нет сервера.\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-05-07 14:00+0400\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -15319,6 +15319,16 @@ msgstr "%s%s: за вебсокет није дозвољено порекло msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s: вебсокет клијент %s%s%s има реалну IP адресу „%s”" +#, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "верзија програма WeeChat" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "верзија програма WeeChat (као број)" + msgid "number of clients for relay" msgstr "број клијената за релеј" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10:37+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -15669,6 +15669,16 @@ msgstr "%s%s: \"%s\" kökenine web soketi için izin verilmiyor" msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "%s: %s%s%s web soketi istemcisinin gerçek \"%s\" IP adresi var" +#, fuzzy +#| msgid "WeeChat version" +msgid "relay API version" +msgstr "WeeChat sürümü" + +#, fuzzy +#| msgid "WeeChat version (as number)" +msgid "relay API version (as number)" +msgstr "WeeChat sürümü (sayı olarak)" + msgid "number of clients for relay" msgstr "iletim istemci sayısı" diff --git a/po/weechat.pot b/po/weechat.pot index b3f0b615f..78f3bed63 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-05-22 00:15+0200\n" +"POT-Creation-Date: 2024-05-26 10: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" @@ -12810,6 +12810,12 @@ msgstr "" msgid "%s: websocket client %s%s%s has real IP address \"%s\"" msgstr "" +msgid "relay API version" +msgstr "" + +msgid "relay API version (as number)" +msgstr "" + msgid "number of clients for relay" msgstr "" diff --git a/src/plugins/relay/relay-info.c b/src/plugins/relay/relay-info.c index b068f0b9e..12450f0fa 100644 --- a/src/plugins/relay/relay-info.c +++ b/src/plugins/relay/relay-info.c @@ -26,9 +26,63 @@ #include "../weechat-plugin.h" #include "relay.h" #include "relay-client.h" +#ifdef HAVE_CJSON +#include "api/relay-api.h" +#endif /* + * Returns WeeChat info "version". + */ + +char * +relay_info_info_relay_api_version_cb (const void *pointer, void *data, + const char *info_name, + const char *arguments) +{ + char version[128]; + + /* make C compiler happy */ + (void) pointer; + (void) data; + (void) info_name; + (void) arguments; + +#ifdef HAVE_CJSON + snprintf (version, sizeof (version), "%s", RELAY_API_VERSION_STR); + return strdup (version); +#else + return NULL; +#endif +} + +/* + * Returns WeeChat info "version_number". + */ + +char * +relay_info_info_relay_api_version_number_cb (const void *pointer, void *data, + const char *info_name, + const char *arguments) +{ + char version_number[32]; + + /* make C compiler happy */ + (void) pointer; + (void) data; + (void) info_name; + (void) arguments; + +#ifdef HAVE_CJSON + snprintf (version_number, sizeof (version_number), + "%d", RELAY_API_VERSION_NUMBER); + return strdup (version_number); +#else + return NULL; +#endif +} + +/* * Returns relay info "relay_client_count". */ @@ -173,6 +227,16 @@ relay_info_init () { /* info hooks */ weechat_hook_info ( + "relay_api_version", + N_("relay API version"), + NULL, + &relay_info_info_relay_api_version_cb, NULL, NULL); + weechat_hook_info ( + "relay_api_version_number", + N_("relay API version (as number)"), + NULL, + &relay_info_info_relay_api_version_number_cb, NULL, NULL); + weechat_hook_info ( "relay_client_count", N_("number of clients for relay"), /* TRANSLATORS: please do not translate the status names, they must be used in English */ @@ -180,7 +244,6 @@ relay_info_init () "means all; protocols: irc, weechat; statuses: connecting, " "waiting_auth, connected, auth_failed, disconnected)"), &relay_info_info_relay_client_count_cb, NULL, NULL); - /* infolist hooks */ weechat_hook_infolist ( "relay", N_("list of relay clients"), |