summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>2019-05-26 09:00:00 +0900
committerAYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>2019-05-26 09:00:00 +0900
commit26c844cd25b702e1b8c89070910266cfe2d5fe44 (patch)
tree5b73b9933cd1034e8fe41f645a927b77cc282d7e /doc
parentad4011846909ddee59099e8d7554b95d9003257b (diff)
downloadweechat-26c844cd25b702e1b8c89070910266cfe2d5fe44.zip
core: update Japanese translations
Diffstat (limited to 'doc')
-rw-r--r--doc/ja/weechat_quickstart.ja.adoc6
-rw-r--r--doc/ja/weechat_scripting.ja.adoc31
-rw-r--r--doc/ja/weechat_user.ja.adoc20
3 files changed, 26 insertions, 31 deletions
diff --git a/doc/ja/weechat_quickstart.ja.adoc b/doc/ja/weechat_quickstart.ja.adoc
index c3f2bb4ae..efe2980e2 100644
--- a/doc/ja/weechat_quickstart.ja.adoc
+++ b/doc/ja/weechat_quickstart.ja.adoc
@@ -40,8 +40,7 @@ WeeChat はすべてのコマンドにヘルプがあります。ヘルプを見
/help command
----
-// TRANSLATION MISSING
-Help is available for options as well:
+各オプションに関するヘルプもあります:
----
/help config.section.option
@@ -51,9 +50,8 @@ Help is available for options as well:
`weechat` もしくはプラグイン名)、`section`
はこの設定のセクション、`option` はオプション名)。
-// TRANSLATION MISSING
[[options]]
-== Set options
+== オプションの設定
オプションを設定するには以下のコマンドを入力してください:
diff --git a/doc/ja/weechat_scripting.ja.adoc b/doc/ja/weechat_scripting.ja.adoc
index 956977591..64e6c11b7 100644
--- a/doc/ja/weechat_scripting.ja.adoc
+++ b/doc/ja/weechat_scripting.ja.adoc
@@ -45,29 +45,28 @@ WeeChat (Wee Enhanced Environment for Chat)
[[scripts_in_weechat]]
== WeeChat のスクリプト
-// TRANSLATION MISSING
[[weechat_architecture]]
-=== WeeChat architecture
+=== WeeChat のアーキテクチャ
-WeeChat is single-threaded, and this applies to scripts as well.
+WeeChat はシングルスレッドで、この点はスクリプトも同じです。
-The code of a script is executed:
+スクリプトのコードは以下の場合に実行されます:
-* when the script is loaded: typically a call to the
- <<register_function,register function>>
-* when a hook callback is called by WeeChat (see the chapter <<hooks,フック>>).
+* スクリプトを読み込んだ時: 通常これは
+ <<register_function,register function>> 関数を呼び出すことを意味します。
+* WeeChat がフックコールバックを呼び出した時 (<<hooks,フック>>を参照してください)。
-When the code of a script is executed, WeeChat waits for the end of execution
-before going on. Therefore the script must *NOT* do blocking operations like
-network calls without using a dedicated API function like `hook_process`.
+スクリプトのコードが実行されると、WeeChat
+は一時停止し、実行の完了を待ってから再開します。このため、スクリプトは操作をブロックしては
+*絶対にいけません*。ネットワークを呼び出す等の場合には、`hook_process` 等の専用 API 関数を使ってください。
[IMPORTANT]
-A script must *NEVER* fork or create threads without using a dedicated API
-function, this can crash WeeChat. +
-If something must be run in background, the function `hook_process` can be used.
-See example in the chapter <<hook_process,バックグラウンドプロセスの実行>>
-and the documentation on the function `hook_process` in the
-link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス].
+WeeChat がクラッシュするため、スクリプトで fork したりスレッドを作ることは *禁止*
+されています。これが必要な場合には専用 API 関数を使ってください。 +
+どうしてもバックグラウンド実行を避けられない場合には `hook_process`
+関数を使ってください。<<hook_process,バックグラウンドプロセスの実行>>の例および
+link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス]内の
+`hook_process` 関数の文書を参照してください。
[[languages_specificities]]
=== 言語仕様
diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc
index cb96b8acf..a0183a723 100644
--- a/doc/ja/weechat_user.ja.adoc
+++ b/doc/ja/weechat_user.ja.adoc
@@ -1770,8 +1770,7 @@ kbd:[Ctrl+r] が押された状態) でのみ有効です。
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
-// TRANSLATION MISSING
-| ボタン/Wheel ^(1)^ | ジェスチャー | エリア | 説明 | コマンド
+| ボタン/ホイール ^(1)^ | ジェスチャー | エリア | 説明 | コマンド
| ◾◽◽ | - | チャット | ウィンドウに移動 | `/window ${_window_number}`
| ◾◽◽ | 左 | チャット | 前のバッファに移動 | `/window ${_window_number};/buffer +1`
| ◾◽◽ | 右 | チャット | 次のバッファに移動 | `/window ${_window_number};/buffer +1`
@@ -3192,27 +3191,26 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
ポート番号 (例では 9000 番) は Relay プラグインで定義したものです。URI
の最後には必ず "/weechat" をつけます (_irc_ と _weechat_ プロトコルの場合)。
-// TRANSLATION MISSING
[[relay_unix_socket]]
-==== UNIX domain sockets
+==== UNIX ドメインソケット
-Using the protocol option "unix" with the `/relay add` command, you can listen
-using any protocol on a UNIX domain socket at a given path. For example:
+`/relay add` コマンドにプロトコルオプション "unix" をつけることで、指定したパスで動作する
+UNIX ドメインソケット上の任意のプロトコルをリッスンできます。例:
----
/relay add unix.weechat %h/relay_socket
----
-This allows clients to connect using the weechat protocol to
-_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
-for relay clients, when other ports cannot be opened. Using OpenSSH:
+こうすることで、クライアントは weechat プロトコルを使って _~/.weechat/relay_socket_
+に接続できます。これは、他のポートをオープンが禁止されている状況下で、リレークライアントの
+SSH 転送を許可する際に特に便利です。OpenSSH を使った例:
----
$ ssh -L 9000:.weechat/relay_socket user@hostname
----
-This redirects local relay clients connecting on port 9000 to the WeeChat
-instance running on "hostname".
+これでポート 9000 番に接続してきたローカルのリレークライアントは
+"hostname" 上で動作中の WeeChat インスタンスへ転送されます。
[[relay_commands]]
==== コマンド