1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 09:45:42 +02:00

Merge pull request #1349 from l/master/translation/ja_JP

core: update Japanese translations
This commit is contained in:
Sébastien Helleu
2019-05-26 13:21:35 +02:00
committed by GitHub
4 changed files with 88 additions and 98 deletions
+2 -4
View File
@@ -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
== オプションの設定
オプションを設定するには以下のコマンドを入力してください:
+15 -16
View File
@@ -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]]
=== 言語仕様
+9 -11
View File
@@ -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]]
==== コマンド
+62 -67
View File
File diff suppressed because it is too large Load Diff