Skip to content

Commit

Permalink
Project translation
Browse files Browse the repository at this point in the history
  • Loading branch information
master authored and master committed Apr 1, 2024
1 parent 7debea9 commit 38d7622
Show file tree
Hide file tree
Showing 46 changed files with 86 additions and 86 deletions.
2 changes: 1 addition & 1 deletion target/docs/Tutorial.htm
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ <h3 id="s63">b. 他の例は?</h3>
Var5 := SubStr(Var, 2, 2) <em>; Variable inside a function.</em>
Var6 := Var "Text" <em>; Assigns a variable to another with some extra text.</em>
MsgBox(Var) <em>; Variable inside a function.</em>
MsgBox Var <em>; Same as above.</em>
MsgBox Var <em>; 上と同じです。</em>
Var := StrSplit(Var, "x") <em>; Variable inside a function that uses InputVar and OutputVar.</em>
if (Num = 6) <em>; Check if a variable is equal to a number.</em>
if Num = 6 <em>; Same as above.</em>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/ClipWait.htm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 id="Parameters">パラメータ</h2>
<dt>タイムアウト</dt>
<dd>
<p>型:<a href="../Concepts.htm#numbers">整数</a>または<a href="../Concepts.htm#numbers">浮動小数点数</a></p>
<p>省略した場合は、無期限で待機します。Otherwise, it will wait no longer than this many seconds. To wait for a fraction of a second, specify a floating-point number, for example, 0.25 to wait for a maximum of 250 milliseconds.</p>
<p>省略した場合は、無期限に待機します。そうでなければ、指定された秒数以上待機することはありません。1 秒未満の時間で待機するには、浮動小数点数を指定します。たとえば最大 250 ミリ秒待機するときは、 0.25 と指定します。</p>
</dd>

<dt>WaitFor</dt>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/Control.htm
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2 id="Error_Handling">エラー処理</h2>
<h2 id="Remarks">備考</h2>
<p>信頼性を高めるため、コントロールを変更するControl関数を使用するたびに、自動的に遅延が行われます(<a href="ControlSetStyle.htm">ControlSetStyle</a><a href="ControlSetStyle.htm">ControlSetExStyle</a>を除く)。この遅延は、<a href="SetControlDelay.htm">SetControlDelay</a>または<a href="../Variables.htm#ControlDelay">A_ControlDelay</a>に値を割り当てることで変更可能です。詳しくは、<a href="SetControlDelay.htm#Remarks">SetControlDelayの備考</a>を参照してください。</p>
<p>現在マウスが乗っているコントロールのClassNNまたはHWNDを検出するには、<a href="MouseGetPos.htm">MouseGetPos</a>を使用します。</p>
<p>To retrieve an array of all controls in a window, use <a href="WinGetControls.htm">WinGetControls</a> or <a href="WinGetControlsHwnd.htm">WinGetControlsHwnd</a>.</p>
<p>ウィンドウ内の全てのコントロールの配列を取得するには、<a href="WinGetControls.htm">WinGetControls</a>または<a href="WinGetControlsHwnd.htm">WinGetControlsHwnd</a>を使用します。</p>

<h2 id="Related">関連</h2>
<p><a href="SetControlDelay.htm">SetControlDelay</a><a href="Win.htm">Win関数</a><a href="GuiControl.htm">GuiControlオブジェクト</a>(スクリプトで作成したコントロール用)</p>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/ControlFocus.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="ja">
<head>
<title>ControlFocus - 構文と使用法|AutoHotkey v2</title>
<meta name="description" content="ControlFocus 関数は、ウィンドウ上の指定されたコントロールに入力フォーカスを設定します。" />
<meta name="description" content="ControlFocus関数は、ウィンドウ上の指定されたコントロールに入力フォーカスを設定します。" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/ControlGetClassNN.htm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2 id="Error_Handling">エラー処理</h2>
<h2 id="Remarks">備考</h2>
<p id="ClassNN">コントロールのClassNNは、コントロールのウィンドウクラスの名前と、それを含むトップレベルウィンドウ内のシーケンス番号で構成されます。例えば、"Edit1"はウィンドウ上の最初のEditコントロール、"Button12"は2番目のボタンです。</p>
<p>コントロールのClassNNは、Window Spy、<a href="MouseGetPos.htm">MouseGetPos</a><a href="WinGetControls.htm">WinGetControls</a>で確認することもできます。</p>
<p>クラス名の中には、コントロールのシーケンス番号に含まれない数字が含まれているものがあります。For example, "SysListView321" is the window's first ListView control, not its 321st. To retrieve the class name without the sequence number, pass the control's HWND to <a href="WinGetClass.htm">WinGetClass</a>.</p>
<p>クラス名の中には、コントロールのシーケンス番号に含まれない数字が含まれているものがあります。例えば、"SysListView321"はウィンドウの最初のリストビューコントロールで、321番目ではありません。シーケンス番号を除いたクラス名を取得するには、<a href="WinGetClass.htm">WinGetClass</a>にコントロールのHWNDを渡します。</p>

<h2 id="Related">関連</h2>
<p><a href="WinGetClass.htm">WinGetClass</a>, <a href="WinGetControls.htm">WinGetControls</a>, <a href="GuiControl.htm#ClassNN">ClassNN property (GuiControl object)</a>, <a href="MouseGetPos.htm">MouseGetPos</a>, <a href="Control.htm">Control functions</a></p>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/ControlGetFocus.htm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2 id="Examples">例</h2>
<pre>
FocusedHwnd := ControlGetFocus("A")
FocusedClassNN := ControlGetClassNN(FocusedHwnd)
MsgBox 'Control with focus = {Hwnd: ' FocusedHwnd ', ClassNN: "' FocusedClassNN '"}'</pre>
MsgBox 'Control with focus = {Hwnd:' FocusedHwnd ', ClassNN:"' FocusedClassNN '"}'</pre>
</div>

</body>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/ControlGetText.htm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2 id="Remarks">備考</h2>
<p>この関数は、ターゲットコントロール(例えば、大きな文書を開いているエディター)が大量のテキストを含んでいる場合、大量のRAMを使用する可能性があります。ただし、<code>Text := ""</code>のように、変数に何も代入しないことで、使用後に変数のメモリを解放することができる。</p>
<p>ほとんどのコントロールタイプから取得したテキストは、各行の終わりを示すために、単独のラインフィード(`n)ではなく、キャリッジリターンとラインフィード(`r`n)を使用します。</p>
<p>It is not necessary to do <code>SetTitleMatchMode "Slow"</code> because ControlGetText always retrieves the text using the slow mode (since it works on a broader range of control types).</p>
<p>To retrieve an array of all controls in a window, use <a href="WinGetControls.htm">WinGetControls</a> or <a href="WinGetControlsHwnd.htm">WinGetControlsHwnd</a>.</p>
<p>ウィンドウ内の全てのコントロールの配列を取得するには、<a href="WinGetControls.htm">WinGetControls</a>または<a href="WinGetControlsHwnd.htm">WinGetControlsHwnd</a>を使用します。</p>

<h2 id="Related">関連</h2>
<p><a href="ControlSetText.htm">ControlSetText</a>, <a href="WinGetText.htm">WinGetText</a>, <a href="Control.htm">Control functions</a></p>
Expand Down
6 changes: 3 additions & 3 deletions target/docs/lib/DirExist.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="ja">
<head>
<title>DirExist - 構文と使用法|AutoHotkey v2</title>
<meta name="description" content="DirExist 関数は、フォルダの存在を確認し、その属性を返します。" />
<meta name="description" content="DirExist関数は、フォルダの存在を確認し、その属性を返します。" />
<meta name="ahk:equiv-v1" content="lib/FileExist.htm" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand All @@ -13,7 +13,7 @@

<h1>DirExist</h1>

<p>フォルダの存在を確認し、その属性を返す</p>
<p>フォルダの存在を確認し、その属性を返します</p>

<pre class="Syntax">AttributeString := <span class="func">DirExist</span>(FilePattern)</pre>
<h2 id="Parameters">パラメータ</h2>
Expand Down Expand Up @@ -64,7 +64,7 @@ <h2 id="Examples">例</h2>
</div>

<div class="ex" id="ExNot">
<p><a class="ex_number" href="#ExNot"></a> Shows a message box if a folder does <u>not</u> exist.</p>
<p><a class="ex_number" href="#ExNot"></a> フォルダが存在<u>しない</u>ときにメッセージボックスを表示します。</p>
<pre>if not DirExist("C:\Temp")
MsgBox "The target folder does not exist."</pre>
</div>
Expand Down
4 changes: 2 additions & 2 deletions target/docs/lib/DriveGetStatus.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="ja">
<head>
<title>DriveGetStatus - 構文と使用法|AutoHotkey v2</title>
<meta name="description" content="DriveGetStatus 関数は、指定されたパスが含まれるドライブのステータスを返す" />
<meta name="description" content="DriveGetStatus関数は、指定されたパスが含まれるドライブのステータスを返します" />
<meta name="ahk:equiv-v1" content="lib/DriveGet.htm#Status" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand All @@ -28,7 +28,7 @@ <h2 id="Parameters">パラメータ</h2>

<h2 id="Return_Value">戻り値</h2>
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
<p>This function returns the status of the drive which contains <em>Path</em>:</p>
<p>この関数は、<em>パス</em>を含むドライブのステータスを返します。</p>
<table class="info">
<tr>
<th>ステータス</th>
Expand Down
8 changes: 4 additions & 4 deletions target/docs/lib/DriveGetStatusCD.htm
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ <h2 id="Parameters">パラメータ</h2>
<dt>Drive</dt>
<dd>
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
<p>省略した場合は、デフォルトのCD/DVDドライブが使用されます。Otherwise, specify the drive letter followed by a colon.</p>
<p>省略した場合は、デフォルトのCD/DVDドライブが使用されます。そうでなければ、後ろにコロンを付けたドライブレターを指定してください。</p>
</dd>
</dl>

<h2 id="Return_Value">戻り値</h2>
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
<p>This function returns the <em>Drive</em>'s media status:</p>
<p>この関数は、<em>ドライブ</em>のメディアステータスを返します。</p>
<table class="info">
<tr>
<th>ステータス</th>
Expand All @@ -48,11 +48,11 @@ <h2 id="Return_Value">戻り値</h2>
</tr>
<tr>
<td>paused</td>
<td>それまで再生していた音声や動画が一時停止されるようになりました</td>
<td>それまで再生していた音声や動画が一時停止されています</td>
</tr>
<tr>
<td>seeking</td>
<td>ドライブを求めています</td>
<td>ドライブはシーク中です</td>
</tr>
<tr>
<td>stopped</td>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/DriveLock.htm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2 id="Parameters">パラメータ</h2>
</dl>

<h2 id="Error_Handling">エラー処理</h2>
<p>An exception is thrown on failure, such as if <em>Drive</em> does not exist or does not support the locking feature.</p>
<p><em>ドライブ</em> が存在しないかロック機能をサポートしていない場合など、失敗すると例外がスローされます。</p>

<h2 id="Remarks">備考</h2>
<p>ほとんどのドライブは「ロックオープン」することができません。ただし、ドライブを開いた状態でロックをかけると、閉じた瞬間にロックがかかってしまう可能性があります。</p>
Expand Down
6 changes: 3 additions & 3 deletions target/docs/lib/FileDelete.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="ja">
<head>
<title>FileDelete - 構文と使用法|AutoHotkey v2</title>
<meta name="description" content="The FileDelete function deletes one or more files permanently." />
<meta name="description" content="FileDelete関数はごみ箱に残さずファイルを削除します。" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
Expand All @@ -12,7 +12,7 @@

<h1>FileDelete</h1>

<p>Deletes one or more files permanently.</p>
<p>ごみ箱に残さず、ファイルを削除します。</p>

<pre class="Syntax"><span class="func">FileDelete</span> FilePattern</pre>
<h2 id="Parameters">パラメータ</h2>
Expand All @@ -32,7 +32,7 @@ <h2 id="Error_Handling">エラー処理</h2>
<p>ファイルが見つかった場合、<a href="../Variables.htm#LastError">A_LastError</a>には0(ゼロ)または最後の失敗の直後のオペレーティングシステムのGetLastError()関数の結果が設定されます。それ以外の場合、A_LastError は、ファイルが見つからなかった理由を示す可能性のあるエラーコードを含みます。</p>

<h2 id="Remarks">備考</h2>
<p>To send a file to the recycle bin, use the <a href="FileRecycle.htm">FileRecycle</a> function.</p>
<p>ファイルをごみ箱に送るときは、<a href="FileRecycle.htm">FileRecycle</a>関数を使ってください。</p>
<p>読み取り専用ファイルを削除するには、まず読み取り専用属性を削除します。事例:<code><a href="FileSetAttrib.htm">FileSetAttrib</a> "-R", "C:\My File.txt"</code>.</p>
<h2 id="Related">関連</h2>
<p><a href="FileRecycle.htm">FileRecycle</a>, <a href="DirDelete.htm">DirDelete</a>, <a href="FileCopy.htm">FileCopy</a>, <a href="FileMove.htm">FileMove</a></p>
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/FileExist.htm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2 id="Examples">例</h2>
</div>

<div class="ex" id="ExNot">
<p><a class="ex_number" href="#ExNot"></a> Shows a message box if a file does <u>not</u> exist.</p>
<p><a class="ex_number" href="#ExNot"></a> ファイルが存在<u>しない</u>ときは、メッセージボックスを表示します。</p>
<pre>if not FileExist("C:\Temp\FlagFile.txt")
MsgBox "The target file does not exist."</pre>
</div>
Expand Down
8 changes: 4 additions & 4 deletions target/docs/lib/Finally.htm
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ <h1>Finally</h1>
<h2 id="Remarks">備考</h2>
<p>Every use of <em>Finally</em> must belong to (be associated with) a <a href="Try.htm">Try</a> statement above it (after any optional <a href="Catch.htm">Catch</a> and/or <a href="Else.htm">Else</a>). A <em>Finally</em> always belongs to the nearest unclaimed <em>Try</em> statement above it unless a <a href="Block.htm">block</a> is used to change that behavior.</p>
<p><em>Try</em> statements behave differently depending on whether <em>Catch</em> or <em>Finally</em> is present. 詳しくは、<a href="Try.htm">Try</a>をご覧ください。</p>
<p><em>Goto</em>, <em>Break</em>, <em>Continue</em> and <em>Return</em> cannot be used to exit a <em>Finally</em> block, as that would require suppressing any control flow statements within the <em>Try</em> block. For example, if <em>Try</em> uses <code>return 42</code>, the value 42 is returned after the <em>Finally</em> block executes. Attempts to jump out of a <em>Finally</em> block using one of these statements are detected as errors at load time where possible, or at run time otherwise.</p>
<p><em>Try</em>ブロック中の制御フローステートメントを抑制するため、<em>Goto</em><em>Break</em><em>Continue</em>または<em>Return</em>では、<em>Finally</em>ブロックを抜け出すことはできません。例えば、<em>try</em><code>return 42</code>を使用したときは、<em>finally</em>ブロックが実行された後に値42が返されます。これらの文を使って<em>finally</em>ブロックから抜け出そうとときは、可能であればロード時に、そうでなければランタイム時にエラーとして検出されます。</p>
<p>トレイメニューや<a href="ExitApp.htm">ExitApp</a>など、何らかの手段でスクリプトを直接終了させた場合は、<em>Finally</em>文は実行されません。</p>
<p>The <a href="Block.htm#otb">One True Brace (OTB) style</a> may optionally be used with the <em>Finally</em> statement. 事例:</p>
<p> <a href="Block.htm#otb">OTB(One True Brace)スタイル</a>は、オプションで<em>finally</em>文を使用することができる。事例:</p>
<pre>try {
...
} finally {
Expand All @@ -44,7 +44,7 @@ <h2 id="Related">関連</h2>
<p><a href="Try.htm">Try</a>, <a href="Catch.htm">Catch</a>, <a href="Else.htm">Else</a>, <a href="Throw.htm">Throw</a>, <a href="Block.htm">Blocks</a></p>
<h2 id="Examples"></h2>
<div class="ex" id="ExBasic">
<p><a class="ex_number" href="#ExBasic"></a> Demonstrates the behavior of <em>Finally</em> in detail.</p>
<p><a class="ex_number" href="#ExBasic"></a> <em>finally</em>の挙動を詳細に示します。</p>
<pre>try
{
ToolTip "Working..."
Expand Down Expand Up @@ -72,7 +72,7 @@ <h2 id="Examples">例</h2>
MsgBox "This is always executed regardless of exceptions"
}

<em>; 分数が奇数の場合、この機能は失敗します</em>
<em>; 分数が奇数のときは、この関数はエラーになります</em>
Example2()
{
if Mod(A_Min, 2)
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/GetKeyState.htm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2 id="Parameters">パラメータ</h2>
<p>型:<a href="../Concepts.htm#strings">文字列</a></p>
<p>This parameter is ignored when retrieving controller status.</p>
<p>If omitted, it defaults to that which retrieves the logical state of the key. OSやアクティブウィンドウがキーがあると信じている状態であり、必ずしも物理的な状態と同じではありません。</p>
<p>Otherwise, specify one of the following letters:</p>
<p>そうでなければ、次の文字のうち、ひとつを指定してください。</p>
<p><strong>P:</strong> Retrieve the physical state (i.e. whether the user is physically holding it down). キーボードやマウスのボタンの物理的な状態は、キーボードやマウスのフックがインストールされていない限り、論理的な状態と同じになるのが普通で、その場合、ユーザーが物理的にキーやボタンを押し続けているかどうかを正確に反映します(スクリプトの実行中に押し続けている限りは)。スクリプトがフックを使用しているかどうかは、<a href="KeyHistory.htm">KeyHistory</a>関数またはメニュー項目で確認できます。<a href="InstallKeybdHook.htm">InstallKeybdHook</a>および/または<a href="InstallMouseHook.htm">InstallMouseHook</a>を呼び出すことで、フックを強制的にインストールすることができます。</p>
<p><strong>T:</strong> Retrieve the toggle state. <kbd>CapsLock</kbd><kbd>NumLock</kbd><kbd>ScrollLock</kbd>以外のキーについては、スクリプト起動時のトグル状態は一般に0であり、プロセス間で同期されることはない。</p>
</dd>
Expand Down
Loading

0 comments on commit 38d7622

Please sign in to comment.