From 85c88664072c905385e695196b30f3e26aa7dd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 9 Jun 2024 16:45:24 +0200 Subject: [PATCH] relay: add option `addreplace` in command `/remote` (issue #2095) --- CHANGELOG.md | 2 +- po/cs.po | 49 +++++++++++++++++++---------- po/de.po | 52 ++++++++++++++++++++++--------- po/es.po | 49 +++++++++++++++++++---------- po/fr.po | 48 +++++++++++++++++----------- po/hu.po | 40 +++++++++++++++--------- po/it.po | 49 +++++++++++++++++++---------- po/ja.po | 51 +++++++++++++++++++----------- po/pl.po | 46 +++++++++++++++++++-------- po/pt.po | 51 +++++++++++++++++++----------- po/pt_BR.po | 32 ++++++++++++------- po/ru.po | 40 +++++++++++++++--------- po/sr.po | 48 +++++++++++++++++++--------- po/tr.po | 51 +++++++++++++++++++----------- po/weechat.pot | 29 ++++++++++------- src/plugins/relay/relay-command.c | 50 +++++++++++++++++++++++------ 16 files changed, 461 insertions(+), 226 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 120a17cfa..0e50d3c7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - **breaking:** alias: display an error with `/alias add` or `/alias addcompletion` when the alias already exists, add options `addreplace` and `addreplacecompletion` in command `/alias` ([#2095](https://github.com/weechat/weechat/issues/2095)) - core: add option `addreplace` in commands `/bar` and `/proxy` ([#2095](https://github.com/weechat/weechat/issues/2095)) - irc: add option `addreplace` in commands `/ignore`, `/notify` and `/server` ([#2095](https://github.com/weechat/weechat/issues/2095)) -- relay: add option `addreplace` in command `/relay` ([#2095](https://github.com/weechat/weechat/issues/2095)) +- relay: add option `addreplace` in commands `/relay` and `/remote` ([#2095](https://github.com/weechat/weechat/issues/2095)) - relay: enable websocket extension "permessage-deflate" with "api" relay only ([#1549](https://github.com/weechat/weechat/issues/1549)) ### Added diff --git a/po/cs.po b/po/cs.po index 71b02073d..afef4d413 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-06-09 16:21+0200\n" +"POT-Creation-Date: 2024-06-09 16:35+0200\n" "PO-Revision-Date: 2024-04-07 14:50+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -14138,8 +14138,20 @@ msgid "No relay remote" msgstr "" #, fuzzy, c-format -msgid "%s%s: remote relay \"%s\" already exists, can't add it!" -msgstr "%s%s: server \"%s\" pro příkaz \"%s\" již existuje" +#| msgid "" +#| "%s%s: you can not delete server \"%s\" because you are connected to. Try " +#| "\"/disconnect %s\" before." +msgid "" +"%s%s: you can not delete remote relay \"%s\" because you are connected to. " +"Try \"/remote disconnect %s\" before." +msgstr "" +"%s%s: nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " +"nejprve \"/dissconnect %s\"." + +#, fuzzy, c-format +#| msgid "%s%s: error: relay for \"%s\" already exists" +msgid "%s%s: remote relay \"%s\" already exists" +msgstr "%s%s: chyba: přesměrování pro\"%s\" již existuje" #, fuzzy, c-format msgid "%s%s: invalid remote relay name: \"%s\"" @@ -14154,6 +14166,11 @@ msgstr "%s%s: nekorektní znaková sada: \"%s\"" msgid "%s%s: invalid remote relay option: \"%s\"" msgstr "%s%s: neplatný návratový kód \"%s\"" +#, fuzzy, c-format +#| msgid "Bar \"%s\" created" +msgid "Remote relay \"%s\" updated" +msgstr "Pole \"%s\" vytvořeno" + #, fuzzy, c-format #| msgid "Bar \"%s\" created" msgid "Remote relay \"%s\" created" @@ -14183,17 +14200,6 @@ msgstr "%s%s: server \"%s\" pro příkaz \"%s\" již existuje" msgid "%s: remote relay \"%s\" has been renamed to \"%s\"" msgstr "Rozložení \"%s\" přejmenováno na %s" -#, fuzzy, c-format -#| msgid "" -#| "%s%s: you can not delete server \"%s\" because you are connected to. Try " -#| "\"/disconnect %s\" before." -msgid "" -"%s%s: you can not delete remote relay \"%s\" because you are connected to. " -"Try \"/remote disconnect %s\" before." -msgstr "" -"%s%s: nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " -"nejprve \"/dissconnect %s\"." - #, fuzzy, c-format msgid "%s: remote relay \"%s\" has been deleted" msgstr "Limit pro zdroj \"%s\" byl nastaven na %s" @@ -14340,9 +14346,9 @@ msgstr "odpojit z jednoho nebo všech IRC serverů" #. TRANSLATORS: only text between angle brackets (eg: "") must be translated #, fuzzy msgid "" -"list|listfull [] || add [-