Commit 92b9533e authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

core: fix typo: Javascript -> JavaScript

parent 5aab494d
......@@ -405,7 +405,7 @@ New features::
* core: add options weechat.look.word_chars_{highlight|input} (issue #55, task #9459)
* irc: add support of "account-notify" capability (issue #11, issue #246)
* irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (issue #251)
* javascript: new script plugin for javascript
* javascript: new script plugin for JavaScript
 
Improvements::
 
......
......@@ -25,7 +25,7 @@ Homepage: https://weechat.org/
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
* *Standards-compliant*: the IRC plugin is compliant with RFCs 1459, 2810, 2811, 2812 and 2813.
* *Small, fast and very light*: the core is and should stay as light and fast as possible.
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme, Javascript and PHP).
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP).
* *Fully documented*: there is comprehensive documentation, which is translated into several languages.
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
* *Free software*: WeeChat is released under GPLv3.
......
......@@ -17,7 +17,7 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
 
# - Find V8 (Google's Javascript engine)
# - Find V8 (Google's JavaScript engine)
# This module finds if libv8 is installed and determines where
# the include files and libraries are.
#
......
......@@ -159,7 +159,7 @@ AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plug
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off Javascript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off JavaScript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
AC_ARG_ENABLE(php, [ --disable-php turn off PHP script plugin (default=compiled if found)],enable_php=$enableval,enable_php=yes)
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
......@@ -908,14 +908,14 @@ if test "x$enable_javascript" = "xyes" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** V8 library couldn't be found on your system.
*** WeeChat will be built without Javascript support.])
*** WeeChat will be built without JavaScript support.])
enable_javascript="no"
not_found="$not_found javascript/v8"
fi
else
AC_MSG_WARN([
*** V8 header files couldn't be found on your system.
*** WeeChat will be built without Javascript support.])
*** WeeChat will be built without JavaScript support.])
enable_javascript="no"
not_found="$not_found javascript/v8"
fi
......
......@@ -44,7 +44,7 @@ Description: Fast, light and extensible chat client
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
- scripts manager
- spell checking
- highly customizable and extensible
......@@ -70,7 +70,7 @@ Description: Fast, light and extensible chat client - console client
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
- scripts manager
- spell checking
- highly customizable and extensible
......@@ -101,7 +101,7 @@ Description: Fast, light and extensible chat client - plugins
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
- scripts manager
- Spell checking (thanks to aspell)
- FIFO pipe for remote control
......
......@@ -43,7 +43,7 @@ Description: Fast, light and extensible chat client
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
- scripts manager
- spell checking
- highly customizable and extensible
......@@ -70,7 +70,7 @@ Description: Fast, light and extensible chat client - console client
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
- scripts manager
- spell checking
- highly customizable and extensible
......@@ -101,7 +101,7 @@ Description: Fast, light and extensible chat client - plugins
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
- scripts manager
- Spell checking (thanks to aspell)
- FIFO pipe for remote control
......
......@@ -904,7 +904,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
weniger Speicherlecks besitzt, als eine vorherige Version)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Buflist,
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Javascript, PHP, Xfer (wird für
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Xfer (wird für
DCC benötigst)
* installiere ausschließlich Skripten die Du auch nutzt
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
......
......@@ -35,7 +35,7 @@ werden folgende Programmiersprachen unterstützt:
* Lua
* Tcl
* Guile (Scheme)
* Javascript
* JavaScript
* PHP
 
[NOTE]
......@@ -91,7 +91,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
** config_new_option
** bar_new
 
==== Javascript
==== JavaScript
 
* Funktionen werden im Format `weechat.xxx(arg1, arg2, ...);` ausgeführt
 
......@@ -179,7 +179,7 @@ weechat::print "" "Hallo, von einem tcl Skript!"
(weechat:print "" "Hallo, von einem scheme Skript!")
----
 
* Javascript:
* JavaScript:
 
[source,javascript]
----
......@@ -387,7 +387,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
 
* Javascript:
* JavaScript:
 
[source,javascript]
----
......@@ -770,7 +770,7 @@ weechat.prnt(buffer, "Nachricht im #weechat Channel")
----
 
[NOTE]
Die print Funktion heißt in Perl/Ruby/Lua/Tcl/Guile/Javascript `print`.
Die print Funktion heißt in Perl/Ruby/Lua/Tcl/Guile/JavaScript `print`.
In Python lautet die Funktion `prnt`.
 
[[buffers_send_text]]
......
......@@ -103,7 +103,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| Paket ^(1)^ | Version | benötigt | Funktion
| C compiler
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, javascript Erweiterung.
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
| cmake | | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
| pkg-config | | *ja* | entdeckt installierte Bibliotheken.
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
......@@ -121,7 +121,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| liblua5.3-dev | | | Lua Erweiterung.
| tcl-dev | ≥ 8.5 | | Tcl Erweiterung.
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) Erweiterung.
| libv8-dev | ≤ 3.24.3 | | Javascript Erweiterung.
| libv8-dev | ≤ 3.24.3 | | JavaScript Erweiterung.
| php7.0-dev, libphp7.0-embed | ≥ 7.0 | | PHP Erweiterung.
| asciidoctor | ≥ 1.5.4 | | zum Erstellen der man page und der Dokumentation.
| libcpputest-dev | ≥ 3.4 | | zum Erstellen und um Test auszuführen.
......@@ -236,7 +236,7 @@ Liste von häufig verwendeten Optionen:
kompiliert <<irc_plugin,IRC Erweiterung>>.
 
| ENABLE_JAVASCRIPT | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Javascript Erweiterung>>.
kompiliert <<scripts_plugins,JavaScript Erweiterung>>.
 
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Unterstützung großer Dateien.
......@@ -277,7 +277,7 @@ Liste von häufig verwendeten Optionen:
 
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
Lua, Tcl, Guile, Javascript, PHP).
Lua, Tcl, Guile, JavaScript, PHP).
 
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
......@@ -550,8 +550,8 @@ Verzeichnisse:
|       autoload/ | Tcl-Skripten die beim Start automatisch ausgeführt werden ^(1)^.
|    guile/ | Guile-Skripten.
|       autoload/ | Guile-Skripten die beim Start automatisch ausgeführt werden ^(1)^.
|    javascript/ | Javascript-Skripten.
|       autoload/ | Javascript-Skripten die beim Start automatisch ausgeführt werden ^(1)^.
|    javascript/ | JavaScript-Skripten.
|       autoload/ | JavaScript-Skripten die beim Start automatisch ausgeführt werden ^(1)^.
|    php/ | PHP-Skripten.
|       autoload/ | PHP-Skripten die beim Start automatisch ausgeführt werden ^(1)^.
|===
......@@ -2135,7 +2135,7 @@ Standarderweiterungen:
| lua | Lua-Skript API.
| tcl | Tcl-Skript API.
| guile | Guile(scheme)-Skript API.
| javascript | Javascript-Skript API.
| javascript | JavaScript-Skript API.
| php | PHP-Skript API.
| trigger | Veränderung von Text und Ausführen von Befehlen bei einem Ereignis, welche durch WeeChat oder eine Erweiterung ausgelöst werden.
| xfer | Datentransfer und Direktchat.
......@@ -3207,7 +3207,7 @@ Die Relay-Erweiterung wird genutzt um Daten, mittels unterschiedlicher Protokoll
** QWeeChat (Qt): https://weechat.org/download
** WeeChat-Android (Android): https://github.com/ubergeek42/weechat-android
** weechat.el (Emacs): https://github.com/the-kenny/weechat.el
** WeeCloud (Javascript): https://github.com/eirikb/weecloud
** WeeCloud (JavaScript): https://github.com/eirikb/weecloud
 
[[relay_password]]
==== Passwort
......@@ -3353,7 +3353,7 @@ include::autogen/user/relay_options.adoc[]
 
// TRANSLATION MISSING
WeeChat unterstützt Erweiterungen für insgesamt acht Skriptsprachen:
Python, Perl, Ruby, Lua, Tcl, Guile (scheme), Javascript und PHP.
Python, Perl, Ruby, Lua, Tcl, Guile (scheme), JavaScript und PHP.
Mit diesen Erweiterungen kann für die jeweilige Skriptsprache, Skripten geladen, ausgeführt
und entfernt werden.
 
......@@ -3401,7 +3401,7 @@ include::autogen/user/tcl_commands.adoc[]
include::autogen/user/guile_commands.adoc[]
 
[[javascript_commands]]
==== Javascript Befehle
==== JavaScript Befehle
 
include::autogen/user/javascript_commands.adoc[]
 
......
......@@ -75,7 +75,7 @@ The main WeeChat directories are:
|       fset/ | Fset (Fast Set) plugin.
|       guile/ | Guile (scheme) scripting API.
|       irc/ | IRC (Internet Relay Chat) plugin.
|       javascript/ | Javascript scripting API.
|       javascript/ | JavaScript scripting API.
|       logger/ | Logger plugin (write messages displayed to files).
|       lua/ | Lua scripting API.
|       perl/ | Perl scripting API.
......@@ -253,10 +253,10 @@ WeeChat "core" is located in following directories:
|       irc-sasl.c | SASL authentication with IRC server.
|       irc-server.c | I/O communication with IRC server.
|       irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|    javascript/ | Javascript plugin.
|       weechat-js.cpp | Main javascript functions (load/unload scripts, execute javascript code).
|       weechat-js-api.cpp | Javascript scripting API functions.
|       weechat-js-v8.cpp | Javascript v8 functions.
|    javascript/ | JavaScript plugin.
|       weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|       weechat-js-api.cpp | JavaScript scripting API functions.
|       weechat-js-v8.cpp | JavaScript v8 functions.
|    logger/ | Logger plugin.
|       logger.c | Main logger functions.
|       logger-buffer.c | Logger buffer list management.
......
......@@ -9280,22 +9280,22 @@ List of signals sent by WeeChat and plugins:
| javascript | javascript_script_loaded +
_(WeeChat ≥ 1.2)_ |
String: path to script. |
Javascript script loaded.
JavaScript script loaded.
 
| javascript | javascript_script_unloaded +
_(WeeChat ≥ 1.2)_ |
String: path to script. |
Javascript script unloaded.
JavaScript script unloaded.
 
| javascript | javascript_script_installed +
_(WeeChat ≥ 1.2)_ |
String: comma-separated list of paths to scripts installed. |
Javascript script(s) installed.
JavaScript script(s) installed.
 
| javascript | javascript_script_removed +
_(WeeChat ≥ 1.2)_ |
String: comma-separated list of scripts removed. |
Javascript script(s) removed.
JavaScript script(s) removed.
 
| logger | logger_start |
Pointer: buffer. |
......
......@@ -29,7 +29,7 @@ script languages:
* Lua
* Tcl
* Guile (Scheme)
* Javascript
* JavaScript
* PHP
 
[NOTE]
......@@ -85,7 +85,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
** config_new_option
** bar_new
 
==== Javascript
==== JavaScript
 
* Functions are called with `weechat.xxx(arg1, arg2, ...);`.
 
......@@ -173,7 +173,7 @@ weechat::print "" "Hello, from tcl script!"
(weechat:print "" "Hello, from scheme script!")
----
 
* Javascript:
* JavaScript:
 
[source,javascript]
----
......@@ -374,7 +374,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
 
* Javascript:
* JavaScript:
 
[source,javascript]
----
......@@ -755,7 +755,7 @@ weechat.prnt(buffer, "message on #weechat channel")
----
 
[NOTE]
Print function is called `print` in Perl/Ruby/Lua/Tcl/Guile/Javascript and
Print function is called `print` in Perl/Ruby/Lua/Tcl/Guile/JavaScript and
`prnt` in Python.
 
[[buffers_send_text]]
......
......@@ -97,7 +97,7 @@ compile WeeChat.
| Package ^(1)^ | Version | Required | Feature
| C compiler
(gcc, clang, ...) | | *yes* | Build.
| C++ compiler | | | Build and run tests, javascript plugin.
| C++ compiler | | | Build and run tests, JavaScript plugin.
| cmake | | *yes* | Build (autotools still possible, but cmake is recommended).
| pkg-config | | *yes* | Detect installed libraries.
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
......@@ -115,7 +115,7 @@ compile WeeChat.
| liblua5.3-dev | | | Lua plugin.
| tcl-dev | ≥ 8.5 | | Tcl plugin.
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) plugin.
| libv8-dev | ≤ 3.24.3 | | Javascript plugin.
| libv8-dev | ≤ 3.24.3 | | JavaScript plugin.
| php7.0-dev, libphp7.0-embed | ≥ 7.0 | | PHP plugin.
| asciidoctor | ≥ 1.5.4 | | Build man page and documentation.
| libcpputest-dev | ≥ 3.4 | | Build and run tests.
......@@ -228,7 +228,7 @@ List of commonly used options:
Compile <<irc_plugin,IRC plugin>>.
 
| ENABLE_JAVASCRIPT | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Javascript plugin>>.
Compile <<scripts_plugins,JavaScript plugin>>.
 
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support of large files.
......@@ -269,7 +269,7 @@ List of commonly used options:
 
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, Javascript, PHP).
Guile, JavaScript, PHP).
 
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Tcl plugin>>.
......@@ -542,8 +542,8 @@ The directories are:
|       autoload/ | Tcl scripts auto-loaded on startup ^(1)^.
|    guile/ | Guile scripts.
|       autoload/ | Guile scripts auto-loaded on startup ^(1)^.
|    javascript/ | Javascript scripts.
|       autoload/ | Javascript scripts auto-loaded on startup ^(1)^.
|    javascript/ | JavaScript scripts.
|       autoload/ | JavaScript scripts auto-loaded on startup ^(1)^.
|    php/ | PHP scripts.
|       autoload/ | PHP scripts auto-loaded on startup ^(1)^.
|===
......@@ -2089,7 +2089,7 @@ Default plugins are:
| lua | Lua scripting API.
| tcl | Tcl scripting API.
| guile | Guile (scheme) scripting API.
| javascript | Javascript scripting API.
| javascript | JavaScript scripting API.
| php | PHP scripting API.
| trigger | Text replacement and command execution on events triggered by WeeChat/plugins.
| xfer | File transfer and direct chat.
......@@ -3136,7 +3136,7 @@ The Relay plugin is used to relay data via network, using different protocols:
** QWeeChat (Qt): https://weechat.org/download
** WeeChat-Android (Android): https://github.com/ubergeek42/weechat-android
** weechat.el (Emacs): https://github.com/the-kenny/weechat.el
** WeeCloud (Javascript): https://github.com/eirikb/weecloud
** WeeCloud (JavaScript): https://github.com/eirikb/weecloud
 
[[relay_password]]
==== Password
......@@ -3273,7 +3273,7 @@ include::autogen/user/relay_options.adoc[]
=== Scripts
 
WeeChat provides 8 scripting plugins: Python, Perl, Ruby, Lua, Tcl, Guile
(scheme), Javascript and PHP.
(scheme), JavaScript and PHP.
These plugins can load, execute and unload scripts for these languages.
 
Another plugin called "script" is a scripts manager and is used to load/unload
......@@ -3319,7 +3319,7 @@ include::autogen/user/tcl_commands.adoc[]
include::autogen/user/guile_commands.adoc[]
 
[[javascript_commands]]
==== Javascript commands
==== JavaScript commands
 
include::autogen/user/javascript_commands.adoc[]
 
......
......@@ -77,7 +77,7 @@ Les répertoires principaux de WeeChat sont :
|       fset/ | Extension Fset (Fast Set).
|       guile/ | API script Guile (scheme).
|       irc/ | Extension IRC (Internet Relay Chat).
|       javascript/ | API script Javascript.
|       javascript/ | API script JavaScript.
|       logger/ | Extension Logger (enregistrer les messages affichés dans des fichiers).
|       lua/ | API script Lua.
|       perl/ | API script Perl.
......@@ -255,10 +255,10 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|       irc-sasl.c | Authentification SASL avec le serveur IRC.
|       irc-server.c | Communication avec le serveur IRC.
|       irc-upgrade.c | Sauvegarde/restauration des données IRC lors de la mise à jour de WeeChat.
|    javascript/ | Extension Javascript.
|       weechat-js.cpp | Fonctions principales pour Javascript (chargement/déchargement des scripts, exécution de code Javascript).
|       weechat-js-api.cpp | Fonctions de l'API script Javascript.
|       weechat-js-v8.cpp | Fonctions Javascript v8.
|    javascript/ | Extension JavaScript.
|       weechat-js.cpp | Fonctions principales pour JavaScript (chargement/déchargement des scripts, exécution de code JavaScript).
|       weechat-js-api.cpp | Fonctions de l'API script JavaScript.
|       weechat-js-v8.cpp | Fonctions JavaScript v8.
|    logger/ | Extension Logger.
|       logger.c | Fonctions principales pour Logger.
|       logger-buffer.c | Gestion des listes de tampons pour Logger.
......
......@@ -9464,22 +9464,22 @@ Liste des signaux envoyés par WeeChat et les extensions :
| javascript | javascript_script_loaded +
_(WeeChat ≥ 1.2)_ |
Chaîne : chemin vers le script. |
Script javascript chargé.
Script JavaScript chargé.
 
| javascript | javascript_script_unloaded +
_(WeeChat ≥ 1.2)_ |
Chaîne : chemin vers le script. |
Script javascript déchargé.
Script JavaScript déchargé.
 
| javascript | javascript_script_installed +
_(WeeChat ≥ 1.2)_ |
Chaîne : liste de chemins vers scripts installés (séparés par des virgules). |
Script(s) javascript installé(s).
Script(s) JavaScript installé(s).
 
| javascript | javascript_script_removed +
_(WeeChat ≥ 1.2)_ |
Chaîne : liste de scripts supprimés (séparés par des virgules). |
Script(s) javascript supprimé(s).
Script(s) JavaScript supprimé(s).
 
| logger | logger_start |
Pointeur : tampon. |
......
......@@ -31,7 +31,7 @@ l'un des langages de script supportés :
* Lua
* Tcl
* Guile (Scheme)
* Javascript
* JavaScript
* PHP
 
[NOTE]
......@@ -88,7 +88,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
** config_new_option
** bar_new
 
==== Javascript
==== JavaScript
 
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...);`.
 
......@@ -177,7 +177,7 @@ weechat::print "" "Bonjour, du script tcl !"
(weechat:print "" "Bonjour, du script scheme !")
----
 
* Javascript :
* JavaScript :
 
[source,javascript]
----
......@@ -386,7 +386,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
 
* Javascript :
* JavaScript :
 
[source,javascript]
----
......@@ -770,7 +770,7 @@ weechat.prnt(buffer, "message sur le canal #weechat")
 
[NOTE]
La fonction d'affichage est appelée `print` en
Perl/Ruby/Lua/Tcl/Guile/Javascript et `prnt` en Python.
Perl/Ruby/Lua/Tcl/Guile/JavaScript et `prnt` en Python.
 
[[buffers_send_text]]
==== Envoyer du texte au tampon
......
......@@ -100,7 +100,7 @@ compiler WeeChat.
| Paquet ^(1)^ | Version | Requis | Fonctionnalité
| compilateur C
(gcc, clang, ...) | | *oui* | Construction.
| compilateur C++ | | | Construction et lancement des tests, extension javascript.
| compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
| cmake | | *oui* | Construction (autotools toujours possible, mais cmake est recommandé).
| pkg-config | | *oui* | Détection des bibliothèques installées.
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
......@@ -232,7 +232,7 @@ Liste des options couramment utilisées :
Compiler <<irc_plugin,l'extension IRC>>.
 
| ENABLE_JAVASCRIPT | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Javascript>>.
Compiler <<scripts_plugins,l'extension JavaScript>>.
 
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support des gros fichiers.
......@@ -273,7 +273,7 @@ Liste des options couramment utilisées :
 
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,les extensions de script>> (Python, Perl, Ruby,
Lua, Tcl, Guile, Javascript, PHP).
Lua, Tcl, Guile, JavaScript, PHP).
 
| ENABLE_TCL | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Tcl>>.
......@@ -553,8 +553,8 @@ Les répertoires sont :
|       autoload/ | Scripts Tcl chargés automatiquement au démarrage ^(1)^.
|    guile/ | Scripts Guile.
|       autoload/ | Scripts Guile chargés automatiquement au démarrage ^(1)^.
|    javascript/ | Scripts Javascript.
|       autoload/ | Scripts Javascript chargés automatiquement au démarrage ^(1)^.
|    javascript/ | Scripts JavaScript.
|       autoload/ | Scripts JavaScript chargés automatiquement au démarrage ^(1)^.
|    php/ | Scripts PHP.
|       autoload/ | Scripts PHP chargés automatiquement au démarrage ^(1)^.
|===
......@@ -2159,7 +2159,7 @@ Les extensions par défaut sont :
| lua | Interface (API) pour scripts Lua.
| tcl | Interface (API) pour scripts Tcl.
| guile | Interface (API) pour scripts Guile (scheme).
| javascript | Interface (API) pour scripts Javascript.
| javascript | Interface (API) pour scripts JavaScript.
| php | Interface (API) pour scripts PHP.
| trigger | Remplacement de texte et exécution de commande sur des évènements de WeeChat ou des extensions.
| xfer | Transfert de fichier et discussion directe.
......@@ -3234,7 +3234,7 @@ utilisant divers protocoles :
** QWeeChat (Qt) : https://weechat.org/download
** WeeChat-Android (Android) : https://github.com/ubergeek42/weechat-android
** weechat.el (Emacs) : https://github.com/the-kenny/weechat.el
** WeeCloud (Javascript) : https://github.com/eirikb/weecloud
** WeeCloud (JavaScript) : https://github.com/eirikb/weecloud
 
[[relay_password]]
==== Mot de passe
......@@ -3379,7 +3379,7 @@ include::autogen/user/relay_options.adoc[]
=== Scripts
 
WeeChat fournit 8 extensions pour scripts : Python, Perl, Ruby, Lua, Tcl,
Guile (scheme), Javascript et PHP.
Guile (scheme), JavaScript et PHP.
Ces extensions peuvent charger, exécuter et décharger des scripts pour ces
langages.
 
......@@ -3428,7 +3428,7 @@ include::autogen/user/tcl_commands.adoc[]
include::autogen/user/guile_commands.adoc[]
 
[[javascript_commands]]
==== Commandes Javascript
==== Commandes JavaScript
 
include::autogen/user/javascript_commands.adoc[]
 
......
......@@ -9577,25 +9577,25 @@ List of signals sent by WeeChat and plugins:
| javascript | javascript_script_loaded +
_(WeeChat ≥ 1.2)_ |
String: path to script. |
Javascript script loaded.
JavaScript script loaded.
 
// TRANSLATION MISSING
| javascript | javascript_script_unloaded +
_(WeeChat ≥ 1.2)_ |
String: path to script. |
Javascript script unloaded.
JavaScript script unloaded.
 
// TRANSLATION MISSING
| javascript | javascript_script_installed +
_(WeeChat ≥ 1.2)_ |
String: comma-separated list of paths to scripts installed. |
Javascript script(s) installed.
JavaScript script(s) installed.
 
// TRANSLATION MISSING
| javascript | javascript_script_removed +
_(WeeChat ≥ 1.2)_ |
String: comma-separated list of scripts removed. |
Javascript script(s) removed.
JavaScript script(s) removed.
 
| logger | logger_start |
Puntatore: buffer. |
......
......@@ -37,7 +37,7 @@ linguaggi di scripting supportati:
* Lua
* Tcl
* Guile (Scheme)
* Javascript
* JavaScript
* PHP
 
[NOTE]
......@@ -94,7 +94,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
** config_new_option
** bar_new
 
==== Javascript
==== JavaScript
 
* Le funzioni sono chiamate con `weechat.xxx(arg1, arg2, ...);`
 
......@@ -182,7 +182,7 @@ weechat::print "" "Hello, from tcl script!"
(weechat:print "" "Hello, from scheme script!")
----
 
* Javascript:
* JavaScript:
 
[source,javascript]