From 85f6c5eeda4719b0b7546f1db413464ce856f5c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 19 Sep 2019 21:20:55 +0200 Subject: [PATCH] script: add options "-ol" and "-il" in command /script, display "No scripts loaded" if no scripts are loaded --- ChangeLog.adoc | 4 + doc/de/autogen/user/script_commands.adoc | 100 +++++++++++---------- doc/en/autogen/user/script_commands.adoc | 8 +- doc/fr/autogen/user/script_commands.adoc | 8 +- doc/it/autogen/user/script_commands.adoc | 8 +- doc/ja/autogen/user/script_commands.adoc | 100 +++++++++++---------- doc/pl/autogen/user/script_commands.adoc | 110 ++++++++++++----------- po/cs.po | 15 +++- po/de.po | 17 +++- po/es.po | 15 +++- po/fr.po | 29 ++++-- po/hu.po | 15 +++- po/it.po | 15 +++- po/ja.po | 17 +++- po/pl.po | 17 +++- po/pt.po | 17 +++- po/pt_BR.po | 15 +++- po/ru.po | 15 +++- po/tr.po | 16 +++- po/weechat.pot | 14 ++- src/plugins/script/script-action.c | 74 +++++++++------ src/plugins/script/script-command.c | 11 ++- 22 files changed, 392 insertions(+), 248 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 172b9e891..cd58133b6 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -23,6 +23,10 @@ Bug fixes:: * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400) * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403) +New features:: + + * script: add options "-ol" and "-il" in command /script to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded + Build:: * core: remove file FindTCL.cmake diff --git a/doc/de/autogen/user/script_commands.adoc b/doc/de/autogen/user/script_commands.adoc index f4417806a..3a00022c3 100644 --- a/doc/de/autogen/user/script_commands.adoc +++ b/doc/de/autogen/user/script_commands.adoc @@ -6,7 +6,7 @@ * `+script+`: WeeChat Skriptmanager ---- -/script list [-o|-i] +/script list [-o|-ol|-i|-il] search show