summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_dev.en.adoc10
-rw-r--r--doc/en/weechat_plugin_api.en.adoc8
-rw-r--r--doc/en/weechat_scripting.en.adoc10
-rw-r--r--doc/en/weechat_user.en.adoc20
4 files changed, 24 insertions, 24 deletions
diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc
index 5daeffd56..1e68c23eb 100644
--- a/doc/en/weechat_dev.en.adoc
+++ b/doc/en/weechat_dev.en.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.
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index 1811f9aea..36ec0693b 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -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. |
diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc
index 212adc155..316bc1faa 100644
--- a/doc/en/weechat_scripting.en.adoc
+++ b/doc/en/weechat_scripting.en.adoc
@@ -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]]
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index b41ce31b9..ff321bd43 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -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[]