summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--doc/de/autogen/user/guile_commands.adoc22
-rw-r--r--doc/de/autogen/user/javascript_commands.adoc22
-rw-r--r--doc/de/autogen/user/lua_commands.adoc22
-rw-r--r--doc/de/autogen/user/perl_commands.adoc22
-rw-r--r--doc/de/autogen/user/php_commands.adoc22
-rw-r--r--doc/de/autogen/user/python_commands.adoc22
-rw-r--r--doc/de/autogen/user/ruby_commands.adoc22
-rw-r--r--doc/de/autogen/user/tcl_commands.adoc22
-rw-r--r--doc/en/autogen/user/guile_commands.adoc2
-rw-r--r--doc/en/autogen/user/javascript_commands.adoc2
-rw-r--r--doc/en/autogen/user/lua_commands.adoc2
-rw-r--r--doc/en/autogen/user/perl_commands.adoc2
-rw-r--r--doc/en/autogen/user/php_commands.adoc2
-rw-r--r--doc/en/autogen/user/python_commands.adoc2
-rw-r--r--doc/en/autogen/user/ruby_commands.adoc2
-rw-r--r--doc/en/autogen/user/tcl_commands.adoc2
-rw-r--r--doc/fr/autogen/user/guile_commands.adoc2
-rw-r--r--doc/fr/autogen/user/javascript_commands.adoc2
-rw-r--r--doc/fr/autogen/user/lua_commands.adoc2
-rw-r--r--doc/fr/autogen/user/perl_commands.adoc2
-rw-r--r--doc/fr/autogen/user/php_commands.adoc2
-rw-r--r--doc/fr/autogen/user/python_commands.adoc2
-rw-r--r--doc/fr/autogen/user/ruby_commands.adoc2
-rw-r--r--doc/fr/autogen/user/tcl_commands.adoc2
-rw-r--r--doc/it/autogen/user/guile_commands.adoc28
-rw-r--r--doc/it/autogen/user/javascript_commands.adoc28
-rw-r--r--doc/it/autogen/user/lua_commands.adoc28
-rw-r--r--doc/it/autogen/user/perl_commands.adoc28
-rw-r--r--doc/it/autogen/user/php_commands.adoc28
-rw-r--r--doc/it/autogen/user/python_commands.adoc28
-rw-r--r--doc/it/autogen/user/ruby_commands.adoc28
-rw-r--r--doc/it/autogen/user/tcl_commands.adoc28
-rw-r--r--doc/ja/autogen/user/guile_commands.adoc22
-rw-r--r--doc/ja/autogen/user/javascript_commands.adoc22
-rw-r--r--doc/ja/autogen/user/lua_commands.adoc22
-rw-r--r--doc/ja/autogen/user/perl_commands.adoc22
-rw-r--r--doc/ja/autogen/user/php_commands.adoc22
-rw-r--r--doc/ja/autogen/user/python_commands.adoc22
-rw-r--r--doc/ja/autogen/user/ruby_commands.adoc22
-rw-r--r--doc/ja/autogen/user/tcl_commands.adoc22
-rw-r--r--doc/pl/autogen/user/guile_commands.adoc28
-rw-r--r--doc/pl/autogen/user/javascript_commands.adoc28
-rw-r--r--doc/pl/autogen/user/lua_commands.adoc28
-rw-r--r--doc/pl/autogen/user/perl_commands.adoc28
-rw-r--r--doc/pl/autogen/user/php_commands.adoc28
-rw-r--r--doc/pl/autogen/user/python_commands.adoc28
-rw-r--r--doc/pl/autogen/user/ruby_commands.adoc28
-rw-r--r--doc/pl/autogen/user/tcl_commands.adoc28
-rw-r--r--po/cs.po5
-rw-r--r--po/de.po7
-rw-r--r--po/es.po7
-rw-r--r--po/fr.po10
-rw-r--r--po/hu.po5
-rw-r--r--po/it.po7
-rw-r--r--po/ja.po7
-rw-r--r--po/pl.po7
-rw-r--r--po/pt.po7
-rw-r--r--po/pt_BR.po5
-rw-r--r--po/ru.po5
-rw-r--r--po/tr.po5
-rw-r--r--po/weechat.pot5
-rw-r--r--src/plugins/guile/weechat-guile.c52
-rw-r--r--src/plugins/javascript/weechat-js.cpp36
-rw-r--r--src/plugins/lua/weechat-lua.c41
-rw-r--r--src/plugins/perl/weechat-perl.c41
-rw-r--r--src/plugins/php/weechat-php.c41
-rw-r--r--src/plugins/plugin-script.c59
-rw-r--r--src/plugins/plugin-script.h6
-rw-r--r--src/plugins/python/weechat-python.c41
-rw-r--r--src/plugins/ruby/weechat-ruby.c41
-rw-r--r--src/plugins/tcl/weechat-tcl.c41
72 files changed, 702 insertions, 612 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 0d845d612..3ee8908ed 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -22,6 +22,7 @@ New features::
* core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates
* api: add hashtable with variables in plugin structure
+ * scripts: add option "version" in script commands (issue #1075)
[[v2.0.1]]
== Version 2.0.1 (2017-12-20)
diff --git a/doc/de/autogen/user/guile_commands.adoc b/doc/de/autogen/user/guile_commands.adoc
index f8547daf0..24d02fb77 100644
--- a/doc/de/autogen/user/guile_commands.adoc
+++ b/doc/de/autogen/user/guile_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/javascript_commands.adoc b/doc/de/autogen/user/javascript_commands.adoc
index 4597d75a5..c82b9b013 100644
--- a/doc/de/autogen/user/javascript_commands.adoc
+++ b/doc/de/autogen/user/javascript_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/lua_commands.adoc b/doc/de/autogen/user/lua_commands.adoc
index 5c76f6d8d..3e3fa51bd 100644
--- a/doc/de/autogen/user/lua_commands.adoc
+++ b/doc/de/autogen/user/lua_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/perl_commands.adoc b/doc/de/autogen/user/perl_commands.adoc
index 3691520b3..aff270552 100644
--- a/doc/de/autogen/user/perl_commands.adoc
+++ b/doc/de/autogen/user/perl_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/php_commands.adoc b/doc/de/autogen/user/php_commands.adoc
index e106697a4..daa9b9b46 100644
--- a/doc/de/autogen/user/php_commands.adoc
+++ b/doc/de/autogen/user/php_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/python_commands.adoc b/doc/de/autogen/user/python_commands.adoc
index 3e00606d9..986b5c77f 100644
--- a/doc/de/autogen/user/python_commands.adoc
+++ b/doc/de/autogen/user/python_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/ruby_commands.adoc b/doc/de/autogen/user/ruby_commands.adoc
index cd4c5f5f3..6235c9b7b 100644
--- a/doc/de/autogen/user/ruby_commands.adoc
+++ b/doc/de/autogen/user/ruby_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/de/autogen/user/tcl_commands.adoc b/doc/de/autogen/user/tcl_commands.adoc
index 1178a0ac8..8708543fb 100644
--- a/doc/de/autogen/user/tcl_commands.adoc
+++ b/doc/de/autogen/user/tcl_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: installierte Skripten werden aufgelistet
-listfull: detaillierte Auflistung aller installierten Skripten
- load: installiert ein Skript
-autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
- reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
- unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
-filename: Skript (Datei) welches geladen werden soll
- name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
- -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/guile_commands.adoc b/doc/en/autogen/user/guile_commands.adoc
index 027a1bfaa..3b5d8fbe2 100644
--- a/doc/en/autogen/user/guile_commands.adoc
+++ b/doc/en/autogen/user/guile_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/javascript_commands.adoc b/doc/en/autogen/user/javascript_commands.adoc
index 0f77bba35..4a4ab1a00 100644
--- a/doc/en/autogen/user/javascript_commands.adoc
+++ b/doc/en/autogen/user/javascript_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/lua_commands.adoc b/doc/en/autogen/user/lua_commands.adoc
index 663842911..885d5f4ca 100644
--- a/doc/en/autogen/user/lua_commands.adoc
+++ b/doc/en/autogen/user/lua_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/perl_commands.adoc b/doc/en/autogen/user/perl_commands.adoc
index fca9c12cf..c047a2f0e 100644
--- a/doc/en/autogen/user/perl_commands.adoc
+++ b/doc/en/autogen/user/perl_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/php_commands.adoc b/doc/en/autogen/user/php_commands.adoc
index 6392dda50..ee1cc62f3 100644
--- a/doc/en/autogen/user/php_commands.adoc
+++ b/doc/en/autogen/user/php_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/python_commands.adoc b/doc/en/autogen/user/python_commands.adoc
index 936306bfb..a3a49558e 100644
--- a/doc/en/autogen/user/python_commands.adoc
+++ b/doc/en/autogen/user/python_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/ruby_commands.adoc b/doc/en/autogen/user/ruby_commands.adoc
index 751a36b4e..9e4b70552 100644
--- a/doc/en/autogen/user/ruby_commands.adoc
+++ b/doc/en/autogen/user/ruby_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/en/autogen/user/tcl_commands.adoc b/doc/en/autogen/user/tcl_commands.adoc
index 008dabbe0..124f9adae 100644
--- a/doc/en/autogen/user/tcl_commands.adoc
+++ b/doc/en/autogen/user/tcl_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
+ version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----
diff --git a/doc/fr/autogen/user/guile_commands.adoc b/doc/fr/autogen/user/guile_commands.adoc
index a95b6f65e..476135695 100644
--- a/doc/fr/autogen/user/guile_commands.adoc
+++ b/doc/fr/autogen/user/guile_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/javascript_commands.adoc b/doc/fr/autogen/user/javascript_commands.adoc
index dd7c4d05b..e1c4afff2 100644
--- a/doc/fr/autogen/user/javascript_commands.adoc
+++ b/doc/fr/autogen/user/javascript_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/lua_commands.adoc b/doc/fr/autogen/user/lua_commands.adoc
index 3c47dbf83..3ac3ea9da 100644
--- a/doc/fr/autogen/user/lua_commands.adoc
+++ b/doc/fr/autogen/user/lua_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/perl_commands.adoc b/doc/fr/autogen/user/perl_commands.adoc
index 76027d3f1..84ac1094b 100644
--- a/doc/fr/autogen/user/perl_commands.adoc
+++ b/doc/fr/autogen/user/perl_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/php_commands.adoc b/doc/fr/autogen/user/php_commands.adoc
index 9026a8030..b9d8b28d5 100644
--- a/doc/fr/autogen/user/php_commands.adoc
+++ b/doc/fr/autogen/user/php_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/python_commands.adoc b/doc/fr/autogen/user/python_commands.adoc
index 263a706df..884d04d59 100644
--- a/doc/fr/autogen/user/python_commands.adoc
+++ b/doc/fr/autogen/user/python_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/ruby_commands.adoc b/doc/fr/autogen/user/ruby_commands.adoc
index c685d271e..25811fc27 100644
--- a/doc/fr/autogen/user/ruby_commands.adoc
+++ b/doc/fr/autogen/user/ruby_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/fr/autogen/user/tcl_commands.adoc b/doc/fr/autogen/user/tcl_commands.adoc
index 6110f15ef..05acadc50 100644
--- a/doc/fr/autogen/user/tcl_commands.adoc
+++ b/doc/fr/autogen/user/tcl_commands.adoc
@@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
+ version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
+ version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----
diff --git a/doc/it/autogen/user/guile_commands.adoc b/doc/it/autogen/user/guile_commands.adoc
index cdc72e552..3bdd8cb0b 100644
--- a/doc/it/autogen/user/guile_commands.adoc
+++ b/doc/it/autogen/user/guile_commands.adoc
@@ -6,20 +6,22 @@
* `+guile+`: elenca/carica/scarica script
----
-/guile list|listfull [<nome>]
- load [-q] <nomefile>
+/guile list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/javascript_commands.adoc b/doc/it/autogen/user/javascript_commands.adoc
index 8d0f9c584..86f972816 100644
--- a/doc/it/autogen/user/javascript_commands.adoc
+++ b/doc/it/autogen/user/javascript_commands.adoc
@@ -6,20 +6,22 @@
* `+javascript+`: elenca/carica/scarica script
----
-/javascript list|listfull [<nome>]
- load [-q] <nomefile>
+/javascript list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/lua_commands.adoc b/doc/it/autogen/user/lua_commands.adoc
index 9ea96f1df..59509e494 100644
--- a/doc/it/autogen/user/lua_commands.adoc
+++ b/doc/it/autogen/user/lua_commands.adoc
@@ -6,20 +6,22 @@
* `+lua+`: elenca/carica/scarica script
----
-/lua list|listfull [<nome>]
- load [-q] <nomefile>
+/lua list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/perl_commands.adoc b/doc/it/autogen/user/perl_commands.adoc
index bbba1f997..11737175c 100644
--- a/doc/it/autogen/user/perl_commands.adoc
+++ b/doc/it/autogen/user/perl_commands.adoc
@@ -6,20 +6,22 @@
* `+perl+`: elenca/carica/scarica script
----
-/perl list|listfull [<nome>]
- load [-q] <nomefile>
+/perl list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/php_commands.adoc b/doc/it/autogen/user/php_commands.adoc
index 37a6748b8..70704ba11 100644
--- a/doc/it/autogen/user/php_commands.adoc
+++ b/doc/it/autogen/user/php_commands.adoc
@@ -6,20 +6,22 @@
* `+php+`: elenca/carica/scarica script
----
-/php list|listfull [<nome>]
- load [-q] <nomefile>
+/php list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/python_commands.adoc b/doc/it/autogen/user/python_commands.adoc
index 07c53d1c8..c6d1f5e42 100644
--- a/doc/it/autogen/user/python_commands.adoc
+++ b/doc/it/autogen/user/python_commands.adoc
@@ -6,20 +6,22 @@
* `+python+`: elenca/carica/scarica script
----
-/python list|listfull [<nome>]
- load [-q] <nomefile>
+/python list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/ruby_commands.adoc b/doc/it/autogen/user/ruby_commands.adoc
index afff80c14..268ce994b 100644
--- a/doc/it/autogen/user/ruby_commands.adoc
+++ b/doc/it/autogen/user/ruby_commands.adoc
@@ -6,20 +6,22 @@
* `+ruby+`: elenca/carica/scarica script
----
-/ruby list|listfull [<nome>]
- load [-q] <nomefile>
+/ruby list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/it/autogen/user/tcl_commands.adoc b/doc/it/autogen/user/tcl_commands.adoc
index 7a1b15170..c50b17e12 100644
--- a/doc/it/autogen/user/tcl_commands.adoc
+++ b/doc/it/autogen/user/tcl_commands.adoc
@@ -6,20 +6,22 @@
* `+tcl+`: elenca/carica/scarica script
----
-/tcl list|listfull [<nome>]
- load [-q] <nomefile>
+/tcl list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q][<nome>]
+ reload|unload [-q] [<name>]
+ version
- list: elenca i plugin caricati
- listfull: elenca i plugin caricati (dettagliato)
- load: carica un plugin
- autoload: carica automaticamente i plugin nella directory utente o di sistema
- reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
- unload: scarica uno o tutti i plugin
-nome_file: (file) script da caricare
- nome: il nome di uno script (usato nella chiamata alla funzione "register")
- -q: modalità silenziosa: non mostra messaggi
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Senza argomento, questo comando elenca tutti i plugin caricati.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/guile_commands.adoc b/doc/ja/autogen/user/guile_commands.adoc
index 7b63fc8b9..1c5ef3f1d 100644
--- a/doc/ja/autogen/user/guile_commands.adoc
+++ b/doc/ja/autogen/user/guile_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/javascript_commands.adoc b/doc/ja/autogen/user/javascript_commands.adoc
index a606a7e50..9ab69ebe1 100644
--- a/doc/ja/autogen/user/javascript_commands.adoc
+++ b/doc/ja/autogen/user/javascript_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/lua_commands.adoc b/doc/ja/autogen/user/lua_commands.adoc
index eab4237d1..83a9f72c4 100644
--- a/doc/ja/autogen/user/lua_commands.adoc
+++ b/doc/ja/autogen/user/lua_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/perl_commands.adoc b/doc/ja/autogen/user/perl_commands.adoc
index 15c189ddf..924cbb238 100644
--- a/doc/ja/autogen/user/perl_commands.adoc
+++ b/doc/ja/autogen/user/perl_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/php_commands.adoc b/doc/ja/autogen/user/php_commands.adoc
index a190efd2b..fba7b8563 100644
--- a/doc/ja/autogen/user/php_commands.adoc
+++ b/doc/ja/autogen/user/php_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/python_commands.adoc b/doc/ja/autogen/user/python_commands.adoc
index 7022dd329..c3c08e19b 100644
--- a/doc/ja/autogen/user/python_commands.adoc
+++ b/doc/ja/autogen/user/python_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/ruby_commands.adoc b/doc/ja/autogen/user/ruby_commands.adoc
index 3787e31bc..da7f47202 100644
--- a/doc/ja/autogen/user/ruby_commands.adoc
+++ b/doc/ja/autogen/user/ruby_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/ja/autogen/user/tcl_commands.adoc b/doc/ja/autogen/user/tcl_commands.adoc
index 2c9d18469..7ab61d840 100644
--- a/doc/ja/autogen/user/tcl_commands.adoc
+++ b/doc/ja/autogen/user/tcl_commands.adoc
@@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
+ version
- list: ロード済みスクリプトをリストアップ
-listfull: ロード済みスクリプトをリストアップ (詳細)
- load: スクリプトをロード
-autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
- reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
- unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
-filename: ロードするスクリプト (ファイル)
- name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
- -q: 出力抑制モード: メッセージを表示しない
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-引数無しの場合、全てのロード済みスクリプトをリストアップします。
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/guile_commands.adoc b/doc/pl/autogen/user/guile_commands.adoc
index 2d25834b8..d8e823319 100644
--- a/doc/pl/autogen/user/guile_commands.adoc
+++ b/doc/pl/autogen/user/guile_commands.adoc
@@ -6,20 +6,22 @@
* `+guile+`: list/load/unload skrypt
----
-/guile list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/guile list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/javascript_commands.adoc b/doc/pl/autogen/user/javascript_commands.adoc
index 2774e2b13..9e66a11f6 100644
--- a/doc/pl/autogen/user/javascript_commands.adoc
+++ b/doc/pl/autogen/user/javascript_commands.adoc
@@ -6,20 +6,22 @@
* `+javascript+`: list/load/unload skrypt
----
-/javascript list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/javascript list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/lua_commands.adoc b/doc/pl/autogen/user/lua_commands.adoc
index 8b45b82d6..7234cab32 100644
--- a/doc/pl/autogen/user/lua_commands.adoc
+++ b/doc/pl/autogen/user/lua_commands.adoc
@@ -6,20 +6,22 @@
* `+lua+`: list/load/unload skrypt
----
-/lua list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/lua list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/perl_commands.adoc b/doc/pl/autogen/user/perl_commands.adoc
index c980a30a6..81113261f 100644
--- a/doc/pl/autogen/user/perl_commands.adoc
+++ b/doc/pl/autogen/user/perl_commands.adoc
@@ -6,20 +6,22 @@
* `+perl+`: list/load/unload skrypt
----
-/perl list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/perl list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/php_commands.adoc b/doc/pl/autogen/user/php_commands.adoc
index a7d84aa9c..1b66ce4d8 100644
--- a/doc/pl/autogen/user/php_commands.adoc
+++ b/doc/pl/autogen/user/php_commands.adoc
@@ -6,20 +6,22 @@
* `+php+`: list/load/unload skrypt
----
-/php list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/php list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/python_commands.adoc b/doc/pl/autogen/user/python_commands.adoc
index 289fa0ad9..3adf703b2 100644
--- a/doc/pl/autogen/user/python_commands.adoc
+++ b/doc/pl/autogen/user/python_commands.adoc
@@ -6,20 +6,22 @@
* `+python+`: list/load/unload skrypt
----
-/python list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/python list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/ruby_commands.adoc b/doc/pl/autogen/user/ruby_commands.adoc
index 2a75ef347..1afb0fbf6 100644
--- a/doc/pl/autogen/user/ruby_commands.adoc
+++ b/doc/pl/autogen/user/ruby_commands.adoc
@@ -6,20 +6,22 @@
* `+ruby+`: list/load/unload skrypt
----
-/ruby list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/ruby list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/doc/pl/autogen/user/tcl_commands.adoc b/doc/pl/autogen/user/tcl_commands.adoc
index b56d29ee9..8c6fe0b57 100644
--- a/doc/pl/autogen/user/tcl_commands.adoc
+++ b/doc/pl/autogen/user/tcl_commands.adoc
@@ -6,20 +6,22 @@
* `+tcl+`: list/load/unload skrypt
----
-/tcl list|listfull [<nazwa>]
- load [-q] <nazwapliku>
+/tcl list|listfull [<name>]
+ load [-q] <filename>
autoload
- reload|unload [-q] [<nazwa>]
+ reload|unload [-q] [<name>]
+ version
- list: lista załadowanych wtyczek
-listfull: lista załadowanych wtyczek (szczegółowa)
- load: ładuje wtyczkę
-autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
- reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
- unload: wyładowuje jedną albo wszystkie wtyczki
-nazwa_pliku: skrypt (plik) do załadowania
- nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
- -q: tryb cichy: nie wyświetla wiadomości
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+ version: display the version of interpreter used
-Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
+Without argument, this command lists all loaded scripts.
----
diff --git a/po/cs.po b/po/cs.po
index 75ec24f9d..7f0c849de 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: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:12+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10204,7 +10204,7 @@ msgstr "seznam/načíst/odebrat skirpty"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<jméno>] || load <jméno_souboru> || autoload || reload|unload "
"[<jméno>]"
@@ -10221,6 +10221,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/de.po b/po/de.po
index f8df03649..a3379f72e 100644
--- a/po/de.po
+++ b/po/de.po
@@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-12-11 20:59+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -11956,13 +11956,15 @@ msgstr "Beschreibung der Erweiterungsoption"
msgid "list/load/unload scripts"
msgstr "auflisten/installieren/beenden von Skripten"
+#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
+#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@@ -11974,6 +11976,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/es.po b/po/es.po
index 8ff1972c0..00286df18 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:12+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10539,13 +10539,15 @@ msgstr "descripción de la opción del plugin"
msgid "list/load/unload scripts"
msgstr "listar/cargar/descargar scripts"
+#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nombre>] || load [-q] <archivo> || autoload || reload|unload "
"[-q] [<nombre>]"
+#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@@ -10557,6 +10559,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 27eb33fb2..331278fac 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
-"PO-Revision-Date: 2017-12-10 08:30+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
+"PO-Revision-Date: 2017-12-23 20:34+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -11696,10 +11696,10 @@ msgstr "lister/charger/décharger des scripts"
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nom>] || load [-q] <fichier> || autoload || reload|unload [-"
-"q] [<nom>]"
+"q] [<nom>] || version"
msgid ""
" list: list loaded scripts\n"
@@ -11712,6 +11712,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
@@ -11727,6 +11728,7 @@ msgstr ""
" nom : nom de script (nom utilisé dans l'appel à la fonction \"register"
"\")\n"
" -q : mode silencieux : ne pas afficher de messages\n"
+" version : afficher la version de l'interpréteur utilisé\n"
"\n"
"Sans paramètre, cette commande liste les scripts chargés."
diff --git a/po/hu.po b/po/hu.po
index dc874ae57..164e9fefc 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9576,7 +9576,7 @@ msgstr "modulok listázása/betöltése/eltávolítása"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"[list [név]] | [listfull [név]] | [load fájlnév] | [autoload] | [reload "
"[név]] | [unload [név]]"
@@ -9593,6 +9593,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/it.po b/po/it.po
index f7d7f9177..a71fa98a3 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10730,13 +10730,15 @@ msgstr "descrizione dell'opzione del plugin"
msgid "list/load/unload scripts"
msgstr "elenca/carica/scarica script"
+#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nome>] || load [-q] <nomefile> || autoload || reload|unload "
"[-q][<nome>]"
+#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@@ -10748,6 +10750,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/ja.po b/po/ja.po
index 77180a517..368b71efd 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-11-18 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -11246,13 +11246,15 @@ msgstr "プラグインオプションの説明"
msgid "list/load/unload scripts"
msgstr "スクリプトをリストアップ/ロード/アンロード"
+#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
+#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@@ -11264,6 +11266,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 4c816417a..173cb4ec6 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-11-15 07:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -11438,13 +11438,15 @@ msgstr "opis opcji wtyczki"
msgid "list/load/unload scripts"
msgstr "list/load/unload skrypt"
+#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nazwa>] || load [-q] <nazwapliku> || autoload || reload|"
"unload [-q] [<nazwa>]"
+#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@@ -11456,6 +11458,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/pt.po b/po/pt.po
index c231674f1..632bbfe45 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-11-15 07:24+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -11146,13 +11146,15 @@ msgstr "descrição das opções do plugin"
msgid "list/load/unload scripts"
msgstr "listar/carregar/descarregar scripts"
+#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nome>] || load [-q] <ficheiro> || autoload || reload|unload "
"[-q] [<nome>]"
+#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@@ -11164,6 +11166,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 43d614e44..80f7438a5 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: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -10051,7 +10051,7 @@ msgstr "listar/carregar/descarregar scripts"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nome>] || load <arquivo> || autoload || reload|unload "
"[<name>]"
@@ -10069,6 +10069,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/ru.po b/po/ru.po
index 691576d43..1a33f9524 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -9612,7 +9612,7 @@ msgstr "перечислить/загрузить/выгрузить plugin'ы"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
"[list [имя]] | [listfull [имя]] | [load имя_файла] | [autoload] | [reload "
"[имя]] | [unload [имя]]"
@@ -9629,6 +9629,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index f5f3d8ef6..5145e83c1 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8724,7 +8724,7 @@ msgstr ""
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
msgid ""
@@ -8738,6 +8738,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/po/weechat.pot b/po/weechat.pot
index 15e9827ea..ae5e3b434 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: 2017-12-10 08:29+0100\n"
+"POT-Creation-Date: 2017-12-23 20:29+0100\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"
@@ -8605,7 +8605,7 @@ msgstr ""
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
-"[-q] [<name>]"
+"[-q] [<name>] || version"
msgstr ""
msgid ""
@@ -8619,6 +8619,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
+" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
diff --git a/src/plugins/guile/weechat-guile.c b/src/plugins/guile/weechat-guile.c
index 9e202c2b1..1519b84cc 100644
--- a/src/plugins/guile/weechat-guile.c
+++ b/src/plugins/guile/weechat-guile.c
@@ -629,6 +629,10 @@ weechat_guile_command_cb (const void *pointer, void *data,
{
weechat_guile_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_guile_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -786,35 +790,6 @@ weechat_guile_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_guile_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#if defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION)
- weechat_printf (NULL, " %s: %d.%d.%d",
- GUILE_PLUGIN_NAME,
- SCM_MAJOR_VERSION,
- SCM_MINOR_VERSION,
- SCM_MICRO_VERSION);
-#else
- weechat_printf (NULL, " %s: (?)", GUILE_PLUGIN_NAME);
-#endif /* defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION) */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -964,9 +939,27 @@ int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{
struct t_plugin_script_init init;
+ char str_version[128];
weechat_guile_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#if defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION)
+ snprintf (str_version, sizeof (str_version),
+ "%d.%d.%d",
+ SCM_MAJOR_VERSION,
+ SCM_MINOR_VERSION,
+ SCM_MICRO_VERSION);
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ str_version);
+#else
+ (void) str_version;
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION) */
+
guile_stdout = NULL;
#ifdef HAVE_GUILE_GMP_MEMORY_FUNCTIONS
@@ -991,7 +984,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_guile_hdata_cb;
init.callback_infolist = &weechat_guile_infolist_cb;
init.callback_signal_debug_dump = &weechat_guile_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_guile_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_guile_signal_script_action_cb;
init.callback_load_file = &weechat_guile_load_cb;
diff --git a/src/plugins/javascript/weechat-js.cpp b/src/plugins/javascript/weechat-js.cpp
index d2c2c0dc7..8c2aa8846 100644
--- a/src/plugins/javascript/weechat-js.cpp
+++ b/src/plugins/javascript/weechat-js.cpp
@@ -557,6 +557,10 @@ weechat_js_command_cb (const void *pointer, void *data,
{
weechat_js_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_js_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -703,28 +707,6 @@ weechat_js_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_js_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C++ compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
- weechat_printf (NULL, " %s (v8): %s",
- JS_PLUGIN_NAME, v8::V8::GetVersion());
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -820,15 +802,23 @@ EXPORT int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{
struct t_plugin_script_init init;
+ char str_interpreter[64];
weechat_js_plugin = plugin;
+ /* set interpreter name and version */
+ snprintf (str_interpreter, sizeof (str_interpreter),
+ "%s (v8)", plugin->name);
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ str_interpreter);
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ v8::V8::GetVersion());
+
init.callback_command = &weechat_js_command_cb;
init.callback_completion = &weechat_js_completion_cb;
init.callback_hdata = &weechat_js_hdata_cb;
init.callback_infolist = &weechat_js_infolist_cb;
init.callback_signal_debug_dump = &weechat_js_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_js_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_js_signal_script_action_cb;
init.callback_load_file = &weechat_js_load_cb;
diff --git a/src/plugins/lua/weechat-lua.c b/src/plugins/lua/weechat-lua.c
index 24f1b3d5b..4dc1b61a7 100644
--- a/src/plugins/lua/weechat-lua.c
+++ b/src/plugins/lua/weechat-lua.c
@@ -668,6 +668,10 @@ weechat_lua_command_cb (const void *pointer, void *data,
{
weechat_lua_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_lua_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -814,31 +818,6 @@ weechat_lua_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_lua_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#ifdef LUA_VERSION
- weechat_printf (NULL, " %s: %s", LUA_PLUGIN_NAME, LUA_VERSION);
-#else
- weechat_printf (NULL, " %s: (?)", LUA_PLUGIN_NAME);
-#endif /* LUA_VERSION */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -936,12 +915,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_lua_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#ifdef LUA_VERSION
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ LUA_VERSION);
+#else
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* LUA_VERSION */
+
init.callback_command = &weechat_lua_command_cb;
init.callback_completion = &weechat_lua_completion_cb;
init.callback_hdata = &weechat_lua_hdata_cb;
init.callback_infolist = &weechat_lua_infolist_cb;
init.callback_signal_debug_dump = &weechat_lua_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_lua_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_lua_signal_script_action_cb;
init.callback_load_file = &weechat_lua_load_cb;
diff --git a/src/plugins/perl/weechat-perl.c b/src/plugins/perl/weechat-perl.c
index 970ce69bb..51839a079 100644
--- a/src/plugins/perl/weechat-perl.c
+++ b/src/plugins/perl/weechat-perl.c
@@ -678,6 +678,10 @@ weechat_perl_command_cb (const void *pointer, void *data,
{
weechat_perl_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_perl_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -824,31 +828,6 @@ weechat_perl_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_perl_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#ifdef PERL_VERSION_STRING
- weechat_printf (NULL, " %s: %s", PERL_PLUGIN_NAME, PERL_VERSION_STRING);
-#else
- weechat_printf (NULL, " %s: (?)", PERL_PLUGIN_NAME);
-#endif /* PERL_VERSION_STRING */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -977,6 +956,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_perl_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#ifdef PERL_VERSION_STRING
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ PERL_VERSION_STRING);
+#else
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* PERL_VERSION_STRING */
+
#ifndef MULTIPLICITY
perl_main = perl_alloc ();
@@ -999,7 +989,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_perl_hdata_cb;
init.callback_infolist = &weechat_perl_infolist_cb;
init.callback_signal_debug_dump = &weechat_perl_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_perl_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_perl_signal_script_action_cb;
init.callback_load_file = &weechat_perl_load_cb;
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c
index 101e5532c..2fcbc5fd1 100644
--- a/src/plugins/php/weechat-php.c
+++ b/src/plugins/php/weechat-php.c
@@ -840,6 +840,10 @@ weechat_php_command_cb (const void *pointer, void *data,
{
weechat_php_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_php_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -986,31 +990,6 @@ weechat_php_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_php_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#ifdef PHP_VERSION
- weechat_printf (NULL, " %s: %s", PHP_PLUGIN_NAME, PHP_VERSION);
-#else
- weechat_printf (NULL, " %s: (?)", PHP_PLUGIN_NAME);
-#endif /* PHP_VERSION */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -1149,12 +1128,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_php_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#ifdef PHP_VERSION
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ PHP_VERSION);
+#else
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* PHP_VERSION */
+
init.callback_command = &weechat_php_command_cb;
init.callback_completion = &weechat_php_completion_cb;
init.callback_hdata = &weechat_php_hdata_cb;
init.callback_infolist = &weechat_php_infolist_cb;
init.callback_signal_debug_dump = &weechat_php_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_php_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_php_signal_script_action_cb;
init.callback_load_file = &weechat_php_load_cb;
diff --git a/src/plugins/plugin-script.c b/src/plugins/plugin-script.c
index 8f4851cf8..2dc129142 100644
--- a/src/plugins/plugin-script.c
+++ b/src/plugins/plugin-script.c
@@ -84,6 +84,55 @@ plugin_script_config_cb (const void *pointer, void *data,
}
/*
+ * Displays name and version of interpreter used.
+ */
+
+void
+plugin_script_display_interpreter (struct t_weechat_plugin *weechat_plugin,
+ int indent)
+{
+ const char *ptr_name, *ptr_version;
+
+ ptr_name = weechat_hashtable_get (weechat_plugin->variables,
+ "interpreter_name");
+ ptr_version = weechat_hashtable_get (weechat_plugin->variables,
+ "interpreter_version");
+ if (ptr_name)
+ {
+ weechat_printf (NULL,
+ "%s%s: %s",
+ (indent) ? " " : "",
+ ptr_name,
+ (ptr_version && ptr_version[0]) ? ptr_version : "(?)");
+ }
+}
+
+/*
+ * Callback for signal "debug_libs".
+ */
+
+int
+plugin_script_signal_debug_libs_cb (const void *pointer, void *data,
+ const char *signal,
+ const char *type_data,
+ void *signal_data)
+{
+ struct t_weechat_plugin *plugin;
+
+ /* make C compiler happy */
+ (void) data;
+ (void) signal;
+ (void) type_data;
+ (void) signal_data;
+
+ plugin = (struct t_weechat_plugin *)pointer;
+
+ plugin_script_display_interpreter (plugin, 1);
+
+ return WEECHAT_RC_OK;
+}
+
+/*
* Creates directories for plugin in WeeChat home:
* - ~/.weechat/XXX/
* - ~/.weechat/XXX/autoload/
@@ -156,7 +205,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
" || load %(filename)"
" || autoload"
" || reload %s"
- " || unload %s",
+ " || unload %s"
+ " || version",
"%s",
string);
}
@@ -166,7 +216,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
N_("list|listfull [<name>]"
" || load [-q] <filename>"
" || autoload"
- " || reload|unload [-q] [<name>]"),
+ " || reload|unload [-q] [<name>]"
+ " || version"),
N_(" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
" load: load a script\n"
@@ -178,6 +229,7 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
" name: a script name (name used in call to \"register\" "
"function)\n"
" -q: quiet mode: do not display messages\n"
+ " version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."),
completion,
@@ -211,7 +263,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
/* add signal for "debug_libs" */
weechat_hook_signal ("debug_libs",
- init->callback_signal_debug_libs, NULL, NULL);
+ plugin_script_signal_debug_libs_cb,
+ weechat_plugin, NULL);
/* add signals for script actions (install/remove/autoload) */
for (i = 0; action_signals[i]; i++)
diff --git a/src/plugins/plugin-script.h b/src/plugins/plugin-script.h
index 9d31b3216..82b549748 100644
--- a/src/plugins/plugin-script.h
+++ b/src/plugins/plugin-script.h
@@ -87,10 +87,6 @@ struct t_plugin_script_init
const char *signal,
const char *type_data,
void *signal_data);
- int (*callback_signal_debug_libs)(const void *pointer, void *data,
- const char *signal,
- const char *type_data,
- void *signal_data);
int (*callback_signal_script_action)(const void *pointer, void *data,
const char *signal,
const char *type_data,
@@ -98,6 +94,8 @@ struct t_plugin_script_init
void (*callback_load_file)(void *data, const char *filename);
};
+extern void plugin_script_display_interpreter (struct t_weechat_plugin *plugin,
+ int indent);
extern void plugin_script_init (struct t_weechat_plugin *weechat_plugin,
int argc, char *argv[],
struct t_plugin_script_init *init);
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c
index c079276ab..b9d37bb2a 100644
--- a/src/plugins/python/weechat-python.c
+++ b/src/plugins/python/weechat-python.c
@@ -968,6 +968,10 @@ weechat_python_command_cb (const void *pointer, void *data,
{
weechat_python_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_python_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -1149,31 +1153,6 @@ weechat_python_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_python_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#ifdef PY_VERSION
- weechat_printf (NULL, " %s: %s", PYTHON_PLUGIN_NAME, PY_VERSION);
-#else
- weechat_printf (NULL, " %s: (?)", PYTHON_PLUGIN_NAME);
-#endif /* PY_VERSION */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -1272,6 +1251,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_python_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#ifdef PY_VERSION
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ PY_VERSION);
+#else
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* PY_VERSION */
+
/*
* hook info to get path to python 2.x interpreter
* (some scripts using hook_process need that)
@@ -1317,7 +1307,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_python_hdata_cb;
init.callback_infolist = &weechat_python_infolist_cb;
init.callback_signal_debug_dump = &weechat_python_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_python_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_python_signal_script_action_cb;
init.callback_load_file = &weechat_python_load_cb;
diff --git a/src/plugins/ruby/weechat-ruby.c b/src/plugins/ruby/weechat-ruby.c
index e525a3753..edf75d13c 100644
--- a/src/plugins/ruby/weechat-ruby.c
+++ b/src/plugins/ruby/weechat-ruby.c
@@ -816,6 +816,10 @@ weechat_ruby_command_cb (const void *pointer, void *data,
{
weechat_ruby_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_ruby_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -962,31 +966,6 @@ weechat_ruby_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_ruby_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#ifdef HAVE_RUBY_VERSION_H
- weechat_printf (NULL, " %s: %s", RUBY_PLUGIN_NAME, ruby_version);
-#else
- weechat_printf (NULL, " %s: (?)", RUBY_PLUGIN_NAME);
-#endif /* HAVE_RUBY_VERSION_H */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -1139,6 +1118,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_ruby_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#ifdef HAVE_RUBY_VERSION_H
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ ruby_version);
+#else
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* HAVE_RUBY_VERSION_H */
+
ruby_error = 0;
/* init stdout/stderr buffer */
@@ -1185,7 +1175,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_ruby_hdata_cb;
init.callback_infolist = &weechat_ruby_infolist_cb;
init.callback_signal_debug_dump = &weechat_ruby_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_ruby_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_ruby_signal_script_action_cb;
init.callback_load_file = &weechat_ruby_load_cb;
diff --git a/src/plugins/tcl/weechat-tcl.c b/src/plugins/tcl/weechat-tcl.c
index fe306cf08..5124b5779 100644
--- a/src/plugins/tcl/weechat-tcl.c
+++ b/src/plugins/tcl/weechat-tcl.c
@@ -559,6 +559,10 @@ weechat_tcl_command_cb (const void *pointer, void *data,
{
weechat_tcl_unload_all ();
}
+ else if (weechat_strcasecmp (argv[1], "version") == 0)
+ {
+ plugin_script_display_interpreter (weechat_tcl_plugin, 0);
+ }
else
WEECHAT_COMMAND_ERROR;
}
@@ -705,31 +709,6 @@ weechat_tcl_signal_debug_dump_cb (const void *pointer, void *data,
}
/*
- * Display infos about external libraries used.
- */
-
-int
-weechat_tcl_signal_debug_libs_cb (const void *pointer, void *data,
- const char *signal,
- const char *type_data, void *signal_data)
-{
- /* make C compiler happy */
- (void) pointer;
- (void) data;
- (void) signal;
- (void) type_data;
- (void) signal_data;
-
-#ifdef TCL_VERSION
- weechat_printf (NULL, " %s: %s", TCL_PLUGIN_NAME, TCL_VERSION);
-#else
- weechat_printf (NULL, " %s: (?)", TCL_PLUGIN_NAME);
-#endif /* TCL_VERSION */
-
- return WEECHAT_RC_OK;
-}
-
-/*
* Timer for executing actions.
*/
@@ -827,12 +806,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_tcl_plugin = plugin;
+ /* set interpreter name and version */
+ weechat_hashtable_set (plugin->variables, "interpreter_name",
+ plugin->name);
+#ifdef TCL_VERSION
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ TCL_VERSION);
+#else
+ weechat_hashtable_set (plugin->variables, "interpreter_version",
+ "");
+#endif /* TCL_VERSION */
+
init.callback_command = &weechat_tcl_command_cb;
init.callback_completion = &weechat_tcl_completion_cb;
init.callback_hdata = &weechat_tcl_hdata_cb;
init.callback_infolist = &weechat_tcl_infolist_cb;
init.callback_signal_debug_dump = &weechat_tcl_signal_debug_dump_cb;
- init.callback_signal_debug_libs = &weechat_tcl_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_tcl_signal_script_action_cb;
init.callback_load_file = &weechat_tcl_load_cb;