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 May 18, 2024
1 parent 5626c27 commit bfc8484
Show file tree
Hide file tree
Showing 15 changed files with 80 additions and 80 deletions.
10 changes: 5 additions & 5 deletions target/docs/Objects.htm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h3 id="Usage_Simple_Arrays">Arrays</h3>
MsgBox "Item " A_Index " is '" value "'"
</pre>

<h3 id="Usage_Associative_Arrays">Maps (Associative Arrays)</h3>
<h3 id="Usage_Associative_Arrays">Maps(連想配列)</h3>
<p><a href="lib/Map.htm">Map</a>または連想配列は、一意のキーと値のコレクションを含むオブジェクトで、各キーは1つの値と関連付けられています。キーは文字列、整数、オブジェクトのいずれでもよく、値はどのような型でもよい。連想配列は次のようにして作ることができる:</p>
<pre>MyMap := Map("KeyA", ValueA, "KeyB", ValueB, ..., "KeyZ", ValueZ)</pre>
<p>項目を取得する。<code>キー</code><a href="Concepts.htm#variables">変数</a>または<a href="Language.htm#expressions"></a></p>
Expand Down Expand Up @@ -123,12 +123,12 @@ <h3 id="object-literal">オブジェクト・リテラル</h3>

<h3 id="Usage_Freeing_Objects">オブジェクトの解放</h3>
<p>スクリプトは明示的にオブジェクトを解放しない。オブジェクトへの最後の参照が解放されると、オブジェクトは自動的に解放される。変数に格納された参照は、その変数に他の値が代入されると自動的に解放される。事例:</p>
<pre>obj := {} <em>; Creates an object.</em>
obj := "" <em>; Releases the last reference, and therefore frees the object.</em></pre>
<pre>obj := {} <em>; オブジェクトを生成します。</em>
obj := "" <em>; 最後の参照を解放します。つまり、オブジェクトを破棄します。</em></pre>
<p>同様に、プロパティや配列要素に格納された参照は、そのプロパティや配列要素に他の値が割り当てられたり、オブジェクトから削除されたりすると解放される。</p>
<pre>arr := [{}] <em>; オブジェクトを含んだ配列を作ります。</em>
arr[1] := {} <em>; Creates a second object, implicitly freeing the first object.</em>
arr.RemoveAt(1) <em>; Removes and frees the second object.</em></pre>
arr[1] := {} <em>; 2番目のオブジェクトを生成します。黙示的に最初のオブジェクトを破棄します。</em>
arr.RemoveAt(1) <em>; 2番目のオブジェクトを破棄します。</em></pre>
<p id="Circular_References">オブジェクトを解放する前に、オブジェクトへの参照をすべて解放しなければならないので、循環参照を含むオブジェクトは自動的に解放されない。例えば、<code>x.child</code><code>y</code>を参照し、<code>y.parent</code><code>x</code>を参照している場合、<code>x</code><code>y</code>をクリアするだけでは不十分である。この状況を解決するには、循環参照を削除する。</p>
<pre>
x := {}, y := {} <em>; Create two objects.</em>
Expand Down
6 changes: 3 additions & 3 deletions target/docs/lib/Gui.htm
Original file line number Diff line number Diff line change
Expand Up @@ -226,17 +226,17 @@ <h4 id="GetClientPos_Parameters">パラメータ</h4>
<dt>&amp;X, &amp;Y</dt>
<dd>
<p>型:<a href="../Concepts.htm#variable-references">VarRef</a></p>
<p>省略した場合は、対応する値は保存されません。Otherwise, specify references to the output variables in which to store the X and Y coordinates of the client area's upper left corner.</p>
<p>省略した場合は、対応する値は保存されません。そうでないときは、クライアント領域の左上隅のX座標とY座標を格納する出力変数への参照を指定します。</p>
</dd>
<dt>&amp;Width, &amp;Height</dt>
<dd>
<p>型:<a href="../Concepts.htm#variable-references">VarRef</a></p>
<p>省略した場合は、対応する値は保存されません。Otherwise, specify references to the output variables in which to store the width and height of the client area.</p>
<p>省略した場合は、対応する値は保存されません。そうでないときは、クライアント領域の幅と高さを格納する出力変数への参照を指定します。</p>
<p>widthはクライアントエリアの左右の水平距離、heightは上下の垂直距離です(単位:ピクセル)。</p>
</dd>
</dl>
<h4 id="GetClientPos_Remarks">備考</h4>
<p>クライアント・エリアはウィンドウの一部で、コントロールを含むことができる。ウィンドウのタイトルバー、メニュー(標準のものがある場合)、ボーダーは除外されます。The position and size of the client area are less dependent on OS version and theme than the values returned by <a href="#GetPos">Gui.GetPos</a>.</p>
<p>クライアント領域はウィンドウの一部で、コントロールを含むことができます。ウィンドウのタイトルバー、メニュー(標準のものがある場合)、ボーダーは除外されます。The position and size of the client area are less dependent on OS version and theme than the values returned by <a href="#GetPos">Gui.GetPos</a>.</p>
<p><a href="WinGetClientPos.htm">WinGetClientPos</a>とは異なり、このメソッドは<em>Width</em><em>Height</em><a href="#DPIScale">DPIスケーリング</a>を適用します(<code>-DPIScale</code>オプションが使用されていない場合)。</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/GuiControl.htm
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ <h3>値</h3>
<p>注:If the control is not value-capable, <em>CurrentValue</em> will be blank and assigning <em>NewValue</em> will raise an error. 無効な値では例外が発生します。</p>
<p><em>CurrentValue</em> and <em>NewValue</em> depend on the <a href="GuiControls.htm">control type</a>:</p>

<p><strong>ActiveX</strong></p>
<p><strong>アクティブX</strong></p>
<p><em>CurrentValue</em> is the ActiveX object of the <a href="GuiControls.htm#ActiveX">ActiveX</a> control. 例えば、<em>Shell.Explorer</em>というテキストでコントロールが作成された場合、これは<a href="https://learn.microsoft.com/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa752043(v=vs.85)">WebBrowser</a>オブジェクトであることを示しています。毎回、同じ<a href="ComValue.htm">ラッパーオブジェクト</a>が返されます。</p>
<p><em>NewValue</em> is invalid and throws an exception.</p>

Expand Down
Loading

0 comments on commit bfc8484

Please sign in to comment.