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 26, 2024
1 parent ca7a299 commit e7db188
Show file tree
Hide file tree
Showing 9 changed files with 214 additions and 214 deletions.
2 changes: 1 addition & 1 deletion target/docs/Objects.htm
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h3 id="ad-hoc">アドホック</h3>
<p>同様に、<code>thing := {foo:"bar"}</code>. {property:value}表記を使う場合、プロパティに引用符を使ってはならない。</p>
<p><code>thing.test()</code>が呼ばれると、<i>thing</i>は自動的にパラメータ・リストの先頭に挿入される。慣習上、関数はオブジェクトの「タイプ」とメソッド名を組み合わせて命名されるが、これは必須条件ではない。</p>
<p>上記の例では、<em>test</em>が定義された後に他の関数や値が割り当てられる可能性があり、その場合、元の関数は失われ、このプロパティを通じて呼び出すことはできない。別の方法として、以下のように読み取り専用のメソッドを定義することもできる:</p>
<pre>thing.DefineProp 'test', {call: thing_test}</pre>
<pre>thing.DefineProp 'test', {call:thing_test}</pre>
<p>こちらもご覧ください:<a href="lib/Object.htm#DefineProp">DefineProp</a></p>

<h3 id="delegation">代表</h3>
Expand Down
12 changes: 6 additions & 6 deletions target/docs/Tutorial.htm
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ <h2 id="s6">6 - 変数</h2>
</dd>
<dt>混合課題</dt>
<dd>
<pre class="NoIndent">MyVar := "The value of 5 + " MyVar2 " is: " 5 + MyVar2</pre>
<pre class="NoIndent">MyVar := "The value of 5 + " MyVar2 " is:" 5 + MyVar2</pre>
<p>上記3つの課題の組み合わせ。</p>
</dd>
</dl>
Expand All @@ -489,13 +489,13 @@ <h3 id="s62">a. ユーザーの入力を得る</h3>
<h3 id="s63">b. 他の例は?</h3>
<pre class="NoIndent">Result := <a href="lib/MsgBox.htm">MsgBox</a>("Would you like to continue?",, 4)
if <a href="lib/MsgBox.htm#Result">Result</a> = "No"
return <em>; If No, stop the code from going further.</em>
return <em>; Noならここでコードを終了します。</em>
MsgBox "You pressed YES." <em>; Otherwise, the user picked yes.</em></pre>
<pre class="NoIndent">Var := "text" <em>; Assign some text to a variable.</em>
Num := 6 <em>; Assign a number to a variable.</em>
Var2 := Var <em>; Assign a variable to another.</em>
Var3 .= Var <em>; Append a variable to the end of another.</em>
Var4 += Num <em>; Add the value of a variable to another.</em>
Num := 6 <em>; 変数に数値を代入します。</em>
Var2 := Var <em>; 変数に別の変数を代入します。</em>
Var3 .= Var <em>; 変数の末尾に別の変数を追記します。</em>
Var4 += Num <em>; 変数に別の変数を加算します。</em>
Var4 -= Num <em>; Subtract the value of a variable from another.</em>
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>
Expand Down
4 changes: 2 additions & 2 deletions target/docs/lib/GuiControls.htm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2 id="toc">目次</h2>
<li><a href="#ComboBox">コンボボックス</a></li>
<li><a href="#Custom">カスタム</a></li>
<li><a href="#DateTime">DateTime</a></li>
<li><a href="#DropDownList">DropDownList (or DDL)</a></li>
<li><a href="#DropDownList">ドロップダウンリスト(DDL</a></li>
<li><a href="#Edit">Edit</a></li>
<li><a href="#GroupBox">ブループボックス</a></li>
<li><a href="#Hotkey">Hotkey</a></li>
Expand Down Expand Up @@ -232,7 +232,7 @@ <h3 id="DateTime_Options">DateTime Options</h3>
<p><strong>Colors inside the drop-down calendar:</strong> The colors of the day numbers inside the drop-down calendar obey that set by <a href="Gui.htm#SetFont">Gui.SetFont</a> or the <a href="Gui.htm#OtherOptions">c (Color)</a> option. To change the colors of other parts of the calendar, follow this example:</p>
<pre><a href="SendMessage.htm">SendMessage</a> 0x1006, 4, 0xFFAA99, "SysDateTimePick321" <em>; 0x1006 is DTM_SETMCCOLOR. 4 is MCSC_MONTHBK (background color). The color must be specified in BGR vs. RGB format (red and blue components swapped).</em></pre>

<a id="DDL"></a><h2 id="DropDownList">DropDownList (or DDL)</h2>
<a id="DDL"></a><h2 id="DropDownList">ドロップダウンリスト(DDL</h2>
<p>A list of choices that is displayed in response to pressing a small button. In this case, the last parameter of <a href="Gui.htm#Add">MyGui.Add</a> is an <a href="Array.htm">Array</a> like <code>["Choice1","Choice2","Choice3"]</code>.</p>
<p>事例:</p>
<pre>MyGui.Add("DropDownList", "vColorChoice", ["Black","White","Red"])</pre>
Expand Down
4 changes: 2 additions & 2 deletions target/docs/lib/InputHook.htm
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,9 @@ <h2 id="Examples">例</h2>

SacKeyDown(ih, vk, sc)
{
if (vk = 8) <em>; Backspace</em>
if (vk = 8) <em>; バックスペース</em>
SacChar(ih, "")
else if (vk = 9) <em>; Tab</em>
else if (vk = 9) <em>; タブ</em>
Send "{Text}" Suffix
}
</pre>
Expand Down
10 changes: 5 additions & 5 deletions target/docs/lib/ListView.htm
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,9 @@ <h2 id="Examples">例</h2>

<div class="ex" id="ExAllRows">
<p><a class="ex_number" href="#ExAllRows"></a> 行番号に0を指定して、すべての行を選択または非選択にします。</p>
<pre>LV.<a href="#Modify">Modify</a>(0, "Select") <em>; Select all.</em>
LV.Modify(0, "-Select") <em>; De-select all.</em>
LV.Modify(0, "-Check") <em>; Uncheck all the <a href="#Checked">checkboxes</a>.</em></pre>
<pre>LV.<a href="#Modify">Modify</a>(0, "Select") <em>; 全て選択</em>
LV.Modify(0, "-Select") <em>; 全てを選択から外します。</em>
LV.Modify(0, "-Check") <em>; 全ての<a href="#Checked">checkboxes</a>を外します。</em></pre>
</div>

<div class="ex" id="ExAutoSize">
Expand Down Expand Up @@ -642,7 +642,7 @@ <h2 id="Examples">例</h2>
<em>; Build a unique extension ID to avoid characters that are illegal in variable names,
; ダッシュのようなまた、このユニークID方式は、アイテムを探す際に
; in the array does not require search-loop.</em>
SplitPath(FileName,,, &amp;FileExt) <em>; Get the file's extension.</em>
SplitPath(FileName,,, &amp;FileExt) <em>; ファイルの拡張子を取得します。</em>
if FileExt ~= "i)\A(EXE|ICO|ANI|CUR)\z"
{
ExtID := FileExt <em>; Special ID as a placeholder.</em>
Expand All @@ -668,7 +668,7 @@ <h2 id="Examples">例</h2>
{
<em>; Get the high-quality small-icon associated with this file extension:</em>
if not DllCall("Shell32\SHGetFileInfoW", "Str", FileName
, "Uint", 0, "Ptr", sfi, "UInt", sfi_size, "UInt", 0x101) <em>; 0x101 is SHGFI_ICON+SHGFI_SMALLICON</em>
, "Uint", 0, "Ptr", sfi, "UInt", sfi_size, "UInt", 0x101) <em>; 0x101はSHGFI_ICON+SHGFI_SMALLICON</em>です。
IconNumber := 9999999 <em>; Set it out of bounds to display a blank icon.</em>
else <em>; Icon successfully loaded.</em>
{
Expand Down
2 changes: 1 addition & 1 deletion target/docs/lib/Menu.htm
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ <h2 id="Examples">例</h2>
MsgBox("MyMenu has " item_count " items, and its last item has ID " last_id)

NoAction(*) {
<em>; Do nothing.</em>
<em>; 何もしません。</em>
}
</pre>
</div>
Expand Down
30 changes: 15 additions & 15 deletions target/docs/misc/FontsStandard.htm
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>Angsana New</td>
<td>Thai</td>
<td>タイ語</td>
<td>XP</td>
</tr>
<tr class="h">
<td>AngsanaUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>XP</td>
</tr>
<tr>
Expand Down Expand Up @@ -132,12 +132,12 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>Browallia New</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
<td>BrowalliaUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
Expand Down Expand Up @@ -197,12 +197,12 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>Cordia New</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
<td>CordiaUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
Expand Down Expand Up @@ -237,7 +237,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>DilleniaUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
Expand Down Expand Up @@ -267,7 +267,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>EucrosiaUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr>
Expand Down Expand Up @@ -297,7 +297,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>FreesiaUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr>
Expand Down Expand Up @@ -372,7 +372,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>IrisUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
Expand All @@ -382,7 +382,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>JasmineUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr>
Expand Down Expand Up @@ -412,7 +412,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>KodchiangUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr>
Expand All @@ -432,12 +432,12 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>Leelawadee</td>
<td>Thai</td>
<td>タイ語</td>
<td>Vista</td>
</tr>
<tr>
<td>Leelawadee UI</td>
<td>Thai</td>
<td>タイ語</td>
<td>8.1</td>
</tr>
<tr class="h">
Expand All @@ -447,7 +447,7 @@ <h1>Windows標準フォント</h1>
</tr>
<tr class="h">
<td>LilyUPC</td>
<td>Thai</td>
<td>タイ語</td>
<td>2000</td>
</tr>
<tr class="h">
Expand Down
Loading

0 comments on commit e7db188

Please sign in to comment.