core: fix typo: Javascript -> JavaScript

v2.8-utf8proc
Sébastien Helleu 2017-09-23 16:24:52 +02:00
parent 5aab494dd6
commit 92b9533efe
27 changed files with 130 additions and 130 deletions

View File

@ -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::

View File

@ -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.

View File

@ -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.
#

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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]]

View File

@ -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[]

View File

@ -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.

View File

@ -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. |

View File

@ -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]]

View File

@ -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[]

View File

@ -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.

View File

@ -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. |

View File

@ -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

View File

@ -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[]

View File

@ -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. |

View File

@ -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]
----
@ -390,7 +390,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
* Javascript:
* JavaScript:
[source,javascript]
----
@ -777,7 +777,7 @@ weechat.prnt(buffer, "message on #weechat channel")
----
[NOTE]
La funzione print si chiama `print` in Perl/Ruby/Lua/Tcl/Guile/Javascript e
La funzione print si chiama `print` in Perl/Ruby/Lua/Tcl/Guile/JavaScript e
`prnt` in Python.
[[buffers_send_text]]

View File

@ -115,7 +115,7 @@ compilare WeeChat.
| C compiler
(gcc, clang, ...) | | *sì* | Build.
// TRANSLATION MISSING
| C++ compiler | | | Build and run tests, plugin Javascript.
| C++ compiler | | | Build and run tests, plugin JavaScript.
| cmake | | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda cmake).
// TRANSLATION MISSING
| pkg-config | | *sì* | Detect installed libraries.
@ -137,8 +137,8 @@ compilare WeeChat.
| liblua5.3-dev | | | Plugin lua.
| tcl-dev | ≥ 8.5 | | Plugin tcl.
| guile-2.0-dev | ≥ 2.0 | | Plugin guile (scheme).
| libv8-dev | ≤ 3.24.3 | | Plugin Javascript.
| php7.0-dev, libphp7.0-embed | ≥ 7.0 | | Plugin PHP.
| libv8-dev | ≤ 3.24.3 | | Plugin javascript.
| php7.0-dev, libphp7.0-embed | ≥ 7.0 | | Plugin php.
// TRANSLATION MISSING
| asciidoctor | ≥ 1.5.4 | | Build man page and documentation.
// TRANSLATION MISSING
@ -260,7 +260,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.
@ -301,7 +301,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>>.
@ -587,8 +587,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)^.
|===
@ -2218,7 +2218,7 @@ I plugin predefiniti sono:
| lua | API per lo scripting in Lua.
| tcl | API per lo scripting in TCL.
| guile | API per lo scripting in Guile (scheme).
| javascript | API per lo scripting in Javascript.
| javascript | API per lo scripting in JavaScript.
| php | API per lo scripting in PHP.
// TRANSLATION MISSING
| trigger | Text replacement and command execution on events triggered by WeeChat/plugins.
@ -3344,7 +3344,7 @@ protocolli differenti:
** 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
// TRANSLATION MISSING
[[relay_password]]
@ -3491,7 +3491,7 @@ include::autogen/user/relay_options.adoc[]
=== Scripts
WeeChat fornisce 8 plugin per lo scripting: Python, Perl, Ruby, Lua, Tcl, Guile
(scheme), Javascript, PHP.
(scheme), JavaScript, PHP.
Questi plugin possono caricare, eseguire e scaricare gli script per questi
linguaggi.
@ -3539,7 +3539,7 @@ include::autogen/user/tcl_commands.adoc[]
include::autogen/user/guile_commands.adoc[]
[[javascript_commands]]
==== Comandi Javascript
==== Comandi JavaScript
include::autogen/user/javascript_commands.adoc[]

View File

@ -259,10 +259,10 @@ WeeChat "core" は以下のディレクトリに配置されています:
|       irc-sasl.c | IRC サーバに対する SASL 認証
|       irc-server.c | IRC サーバとの入出力通信
|       irc-upgrade.c | WeeChat をアップグレードする際の IRC データの保存およびロード
|    javascript/ | javascript プラグイン
|       weechat-js.cpp | javascript の主要関数 (スクリプトのロード/アンロード、javascript コードの実行)
|       weechat-js-api.cpp | javascript スクリプト作成 API 関数
|       weechat-js-v8.cpp | javascript v8 関数
|    javascript/ | JavaScript プラグイン
|       weechat-js.cpp | JavaScript の主要関数 (スクリプトのロード/アンロード、JavaScript コードの実行)
|       weechat-js-api.cpp | JavaScript スクリプト作成 API 関数
|       weechat-js-v8.cpp | JavaScript v8 関数
|    logger/ | logger プラグイン
|       logger.c | logger の主要関数
|       logger-buffer.c | logger バッファリスト管理

View File

@ -9286,22 +9286,22 @@ WeeChat とプラグインが送信するシグナルのリスト:
| javascript | javascript_script_loaded +
_(WeeChat バージョン 1.2 以上で利用可)_ |
String: スクリプトへのパス |
Javascript スクリプトをロード
JavaScript スクリプトをロード
| javascript | javascript_script_unloaded +
_(WeeChat バージョン 1.2 以上で利用可)_ |
String: スクリプトへのパス |
Javascript スクリプトをリロード
JavaScript スクリプトをリロード
| javascript | javascript_script_installed +
_(WeeChat バージョン 1.2 以上で利用可)_ |
String: インストールされたスクリプトへのパスのコンマ区切りリスト |
Javascript スクリプトをインストール
JavaScript スクリプトをインストール
| javascript | javascript_script_removed +
_(WeeChat バージョン 1.2 以上で利用可)_ |
String: 削除されたスクリプトへのパスのコンマ区切りリスト |
Javascript スクリプトを削除
JavaScript スクリプトを削除
| logger | logger_start |
Pointer: バッファ |

View File

@ -35,7 +35,7 @@ WeeChat (Wee Enhanced Environment for Chat)
* 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
* 関数は `weechat.xxx(arg1, arg2, ...);` のように呼び出してください。
@ -179,7 +179,7 @@ weechat::print "" "Hello, from tcl script!"
(weechat:print "" "Hello, from scheme script!")
----
* Javascript:
* JavaScript:
[source,javascript]
----
@ -382,7 +382,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
* Javascript:
* JavaScript:
[source,javascript]
----
@ -763,7 +763,7 @@ weechat.prnt(buffer, "message on #weechat channel")
----
[NOTE]
Print 関数は Perl/Ruby/Lua/Tcl/Guile/Javascript では `print` で、Python では
Print 関数は Perl/Ruby/Lua/Tcl/Guile/JavaScript では `print` で、Python では
`prnt` です。
[[buffers_send_text]]

View File

@ -102,7 +102,7 @@ OS X では http://brew.sh/[Homebrew] を使ってください:
| パッケージ ^(1)^ | バージョン | 要件 | 機能
| C コンパイラ
(gcc, clang, ...) | | *必須* | ビルド
| C++ コンパイラ | | | ビルドとテストの実行、javascript プラグイン
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
| cmake | | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
| pkg-config | | *必須* | インストール済みライブラリを検出
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェイス
@ -232,7 +232,7 @@ cmake に対するオプションを指定するには、以下の書式を使
<<irc_plugin,IRC プラグイン>>のコンパイル
| ENABLE_JAVASCRIPT | `ON`, `OFF` | ON |
<<scripts_plugins,Javascript プラグイン>>のコンパイル。
<<scripts_plugins,JavaScript プラグイン>>のコンパイル。
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
巨大ファイルのサポート。
@ -273,7 +273,7 @@ cmake に対するオプションを指定するには、以下の書式を使
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
すべての<<scripts_plugins,スクリプトプラグイン>>
(Python、Perl、Ruby、Lua、Tcl、Guile、Javascript, PHP) のコンパイル。
(Python、Perl、Ruby、Lua、Tcl、Guile、JavaScript, PHP) のコンパイル。
| ENABLE_TCL | `ON`, `OFF` | ON |
<<scripts_plugins,Tcl プラグイン>>のコンパイル。
@ -545,8 +545,8 @@ _~/.weechat_ ディレクトリの中に作成されます
|       autoload/ | 起動時に自動ロードされる Tcl スクリプト ^(1)^
|    guile/ | Guile スクリプト
|       autoload/ | 起動時に自動ロードされる Guile スクリプト ^(1)^
|    javascript/ | Javascript スクリプト
|       autoload/ | 起動時に自動ロードされる Javascript スクリプト ^(1)^
|    javascript/ | JavaScript スクリプト
|       autoload/ | 起動時に自動ロードされる JavaScript スクリプト ^(1)^
|    php/ | PHP スクリプト
|       autoload/ | 起動時に自動ロードされる PHP スクリプト ^(1)^
|===
@ -2088,7 +2088,7 @@ _スクリプト_ とは `/python` 等のコマンドで _python_
| lua | Lua スクリプト API
| tcl | Tcl スクリプト API
| guile | Guile (scheme) スクリプト API
| javascript | Javascript スクリプト API
| javascript | JavaScript スクリプト API
| php | PHP スクリプト API
| trigger | WeeChat およびプラグインが発生させたイベントに対するテキスト置換とコマンド実行
| xfer | ファイル転送とダイレクトチャット
@ -3130,7 +3130,7 @@ Relay プラグインはネットワークを介して異なるプロトコル
** 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]]
==== パスワード
@ -3268,7 +3268,7 @@ include::autogen/user/relay_options.adoc[]
WeeChat は 8 種類のスクリプトプラグインを備えています:
Python、Perl、Ruby、Lua、Tcl、Guile
(scheme)、Javascript、PHP。これらのプラグインでそれぞれの言語で書かれたスクリプトのロード、実行、アンロードができます。
(scheme)、JavaScript、PHP。これらのプラグインでそれぞれの言語で書かれたスクリプトのロード、実行、アンロードができます。
スクリプトマネージャを使えば、任意の言語で書かれたスクリプトをロード/アンロードしたり、WeeChat
スクリプトリポジトリ (https://weechat.org/scripts から参照可能)
@ -3313,7 +3313,7 @@ include::autogen/user/tcl_commands.adoc[]
include::autogen/user/guile_commands.adoc[]
[[javascript_commands]]
==== Javascript コマンド
==== JavaScript コマンド
include::autogen/user/javascript_commands.adoc[]

View File

@ -35,7 +35,7 @@ wspieranych języków skryptowych:
* Lua
* Tcl
* Guile (Scheme)
* Javascript
* JavaScript
* PHP
[NOTE]
@ -91,7 +91,7 @@ Weechat.config_new_option(config, section, "nazwa", "ciąg", "opis opcji", "", 0
** config_new_option
** bar_new
==== Javascript
==== JavaScript
* Funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...);`
@ -179,7 +179,7 @@ weechat::print "" "Witaj ze skryptu tcl!"
(weechat:print "" "Witaj ze skryptu scheme!")
----
* Javascript:
* JavaScript:
[source,javascript]
----
@ -380,7 +380,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
* Javascript:
* JavaScript:
[source,javascript]
----
@ -761,7 +761,7 @@ weechat.prnt(buffer, "wiadomość na kanale #weechat")
----
[NOTE]
Funkcja drukująca nazywa się `print` w Perl/Ruby/Lua/Tcl/Guile/Javascript i
Funkcja drukująca nazywa się `print` w Perl/Ruby/Lua/Tcl/Guile/JavaScript i
`prnt` w Pythonie.
[[buffers_send_text]]

View File

@ -103,7 +103,7 @@ WeeChat.
| Pakiet ^(1)^ | Wersja | Wymagany | Opis
| kompilator C
(gcc, clang, ...) | | *tak* | Kompilacja.
| kompilator C++ | | | Kompilacja i uruchamianie testów, wtyczka javascript.
| kompilator C++ | | | Kompilacja i uruchamianie testów, wtyczka JavaScript.
| cmake | | *tak* | Kompilacja (możliwe jest użycie autotools, jednak cmake jest zalecany).
| pkg-config | | *tak* | Wykrywa zainstalowane biblioteki.
| libncursesw5-dev ^(2)^ | | *tak* | Interfejs ncurses.
@ -276,7 +276,7 @@ Lista popularnych opcji:
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczek skryptowych>> (Python, Perl, Ruby, Lua,
Tcl, Guile, Javascript, PHP).
Tcl, Guile, JavaScript, PHP).
| ENABLE_TCL | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki tcl>>.
@ -554,8 +554,8 @@ Foldery to:
|       autoload/ | Skrypty tcl automatycznie ładowane przy starcie ^(1)^.
|    guile/ | Skrypty guile.
|       autoload/ | skrypry guile automatycznie ładowane przy starcie ^(1)^.
|    javascript/ | Skrypty javascript.
|       autoload/ | Skrypty javascript automatycznie ładowane przy starcie ^(1)^.
|    javascript/ | Skrypty JavaScript.
|       autoload/ | Skrypty JavaScript automatycznie ładowane przy starcie ^(1)^.
|    php/ | Skrypty PHP.
|       autoload/ | Skrypty PHP automatycznie ładowane przy starcie ^(1)^.
|===
@ -2116,7 +2116,7 @@ Domyślne wtyczki:
| lua | Wsparcie dla skryptów napisanych w Lua.
| tcl | Wsparcie dla skryptów napisanych w Tcl.
| guile | Wsparcie dla skryptów napisanych w Guile (scheme).
| javascript | Wsparcie dla skryptów napisanych w Javascript.
| javascript | Wsparcie dla skryptów napisanych w JavaScript.
| php | Wsparcie dla skryptów napisanych w PHP.
| trigger | Zamiana tekstu i wykonywanie komend dla zdarzeń wywołanych przez WeeChat/wtyczki.
| xfer | Przesyłanie plików i bezpośredni chat.
@ -3189,7 +3189,7 @@ protokołów:
** 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]]
==== Hasło
@ -3329,7 +3329,7 @@ include::autogen/user/relay_options.adoc[]
=== Skryptowe
WeeChat posiada 8 wtyczek skryptowych: Python, Perl, Ruby, Lua, Tcl, Guile
(scheme), Javascript i PHP.
(scheme), JavaScript i PHP.
Wtyczki te potrafią ładować, wykonywać i wyładowywać skrypty w tych językach.
Inna wtyczka nazwana "script" jest managerem skryptów i jest używana do

View File

@ -59,7 +59,7 @@ python2-devel ruby tcl-devel libguile2.0-devel zlib-devel"
# CMake compilation of WeeChat:
# 1. set prefix to /usr
# 2. enable build of man pages and documentation
# 3. disable Javascript plugin because libv8 is not available in Cygwin
# 3. disable javascript plugin because libv8 is not available in Cygwin
#
CYGCMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON -DENABLE_DOC=ON \
-DENABLE_JAVASCRIPT=OFF"