From 762d71012a8f83d20c1bf907ba6d4d32fbea768f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 19 Mar 2024 20:45:22 +0100 Subject: [PATCH] script: add option `enable` in command `/script`, improve error displayed when download of scripts is disabled --- ChangeLog.adoc | 1 + po/cs.po | 22 +++-- po/de.po | 130 +++++++++++++--------------- po/es.po | 22 +++-- po/fr.po | 35 +++++--- po/hu.po | 21 +++-- po/it.po | 22 +++-- po/ja.po | 22 +++-- po/pl.po | 40 +++++++-- po/pt.po | 22 +++-- po/pt_BR.po | 21 +++-- po/ru.po | 21 +++-- po/sr.po | 40 +++++++-- po/tr.po | 33 +++++-- po/weechat.pot | 21 +++-- src/plugins/script/script-command.c | 20 ++++- src/plugins/script/script.c | 2 +- 17 files changed, 333 insertions(+), 162 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index b44f08654..371cd822c 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -38,6 +38,7 @@ New features:: * 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) + * script: add option `enable` in command `/script` * script: add info "script_loaded" Bug fixes:: diff --git a/po/cs.po b/po/cs.po index 281b79cb4..5fb2ba51d 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-16 14:13+0100\n" +"POT-Creation-Date: 2024-03-19 20:38+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -14539,10 +14539,15 @@ msgstr "Správce skriptů" #, c-format msgid "" -"%s%s: download of scripts is disabled by default; see /help script.scripts." -"download_enabled" +"%s%s: download of scripts is disabled by default; to enable it, type /script " +"enable" msgstr "" +#, fuzzy, c-format +#| msgid "%s: downloading list of scripts..." +msgid "%s: download of scripts enabled" +msgstr "%s: stahuji seznam skriptů..." + #, fuzzy msgid "WeeChat script manager" msgstr "správce skriptů WeeChatu" @@ -14550,9 +14555,9 @@ msgstr "správce skriptů WeeChatu" #. TRANSLATORS: only text between angle brackets (eg: "") must be translated #, fuzzy msgid "" -"list [-o|-ol|-i|-il] || search || show