[Ttssh2-commit] [4547] 英訳を追加。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 7月 28日 (木) 21:57:37 JST


Revision: 4547
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4547
Author:   yutakapon
Date:     2011-07-28 21:57:36 +0900 (Thu, 28 Jul 2011)

Log Message:
-----------
英訳を追加。
少し文言を修正し、より分かりやすい表現にした。

Modified Paths:
--------------
    trunk/doc/en/html/macro/command/expandenv.html
    trunk/doc/ja/html/macro/command/expandenv.html


-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/expandenv.html
===================================================================
--- trunk/doc/en/html/macro/command/expandenv.html	2011-07-28 08:58:28 UTC (rev 4546)
+++ trunk/doc/en/html/macro/command/expandenv.html	2011-07-28 12:57:36 UTC (rev 4547)
@@ -14,7 +14,7 @@
 <h1>expandenv</h1>
 
 <p>
-Expands environment variables.
+Expands environment-variable strings.
 </p>
 
 <h2>Format</h2>
@@ -27,11 +27,11 @@
 
 <dl>
 	<dt class="macro">string valiable &lt;strvar&gt;</dt>
-	<!--dd>‘æ2ˆø”‚ð“n‚³‚È‚¢ê‡‚́A‚±‚̈ø”‚ÅŽw’肵‚½•¶Žš—ñ‚ª“WŠJ‚³‚ê‚éB<br />
-	    ‘æ2ˆø”‚ð“n‚µ‚½ê‡‚́A‚±‚̈ø”‚Í–³Ž‹‚³‚ê‚éB</dd-->
+	<dd>The specified string is expanded.<br />
+	    When the second argument(&lt;strval&gt;) is given, the result expanding the argument stores into the string valiable &lt;strvar&gt;.</dd>
 	
 	<dt class="macro">string &lt;strval&gt; (optional)</dt>
-	<!--dd>‚±‚̈ø”‚ðŽw’肵‚½ê‡A‚±‚̈ø”‚ÅŽw’肵‚½•¶Žš—ñ‚ª“WŠJ‚³‚ê‚éB</dd-->
+	<dd>When this argument is given,  the result expanding the argument stores into the string valiable &lt;strvar&gt;.</dd>
 
 </dl>
 
@@ -39,28 +39,33 @@
 
 <dl>
 	<dt class="macro">System valiable &lt;result&gt;</dt>
-	<!--dd>“WŠJŒã‚Ì•¶Žš—ñ‚ªŠi”[‚³‚ê‚éB</dd-->
+	<dd>The expanded string stores.</dd>
 	
 </dl>
 
 <h2>Remarks</h2>
 
 <p>
-<!-- “n‚³‚ꂽ•¶Žš—ñ‚ÉŠÜ‚Ü‚ê‚éŠÂ‹«•Ï”‚ð“WŠJ‚·‚éB -->
+The expandenv command expands one or more environment-variable strings(%variableName%) and replaces them with the values for the current user.
 </p>
 
 <h2>Example</h2>
 
 <pre class="macro-example">
-str = "%WINDIR%\notepad.exe"
+str = &quot;%WINDIR%\notepad.exe&quot;
 expandenv str
-messagebox str "env"
+messagebox str &quot;env&quot;    ; C:\WINDOWS\notepad.exe
 </pre>
 
 <pre class="macro-example">
-expandenv str "%WINDIR%\notepad.exe"
-messagebox str "env"
+expandenv str &quot;%WINDIR%\notepad.exe&quot;
+messagebox str &quot;env&quot;    ; C:\WINDOWS\notepad.exe
 </pre>
 
+<pre class="macro-example">
+expandenv str &quot;%test%\notepad.exe&quot;
+messagebox str &quot;env&quot;    ; %test%\notepad.exe
+</pre>
+
 </body>
 </html>

Modified: trunk/doc/ja/html/macro/command/expandenv.html
===================================================================
--- trunk/doc/ja/html/macro/command/expandenv.html	2011-07-28 08:58:28 UTC (rev 4546)
+++ trunk/doc/ja/html/macro/command/expandenv.html	2011-07-28 12:57:36 UTC (rev 4547)
@@ -14,7 +14,7 @@
 <h1>expandenv</h1>
 
 <p>
-ŠÂ‹«•Ï”‚ð“WŠJ‚·‚éB
+ŠÂ‹«•Ï”•¶Žš—ñ‚ð“WŠJ‚·‚éB
 </p>
 
 <h2>Œ`Ž®</h2>
@@ -27,11 +27,11 @@
 
 <dl>
 	<dt class="macro">•¶Žš—ñ•Ï” &lt;strvar&gt;</dt>
-	<dd>‘æ2ˆø”‚ð“n‚³‚È‚¢ê‡‚́A‚±‚̈ø”‚ÅŽw’肵‚½•¶Žš—ñ‚ª“WŠJ‚³‚ê‚éB<br />
-	    ‘æ2ˆø”‚ð“n‚µ‚½ê‡‚́A‚±‚̈ø”‚Í–³Ž‹‚³‚ê‚éB</dd>
+	<dd>‚±‚̈ø”‚ÅŽw’肵‚½•¶Žš—ñ‚ª“WŠJ‚³‚ê‚éB<br />
+	    ‘æ2ˆø”(&lt;strval&gt;)‚ð“n‚µ‚½ê‡‚́A“WŠJŒ‹‰Ê‚ª“–ŠY•¶Žš—ñ•Ï”‚É‘ã“ü‚³‚ê‚éB</dd>
 	
 	<dt class="macro">•¶Žš—ñ &lt;strval&gt; (ƒIƒvƒVƒ‡ƒ“)</dt>
-	<dd>‚±‚̈ø”‚ðŽw’肵‚½ê‡A‚±‚̈ø”‚ÅŽw’肵‚½•¶Žš—ñ‚ª“WŠJ‚³‚ê‚éB</dd>
+	<dd>‚±‚̈ø”‚ðŽw’肵‚½ê‡AŽw’肵‚½•¶Žš—ñ‚ª“WŠJ‚³‚êA•¶Žš—ñ•Ï” &lt;strvar&gt;‚É‘ã“ü‚³‚ê‚éB</dd>
 
 </dl>
 
@@ -46,21 +46,26 @@
 <h2>‰ðà</h2>
 
 <p>
-“n‚³‚ꂽ•¶Žš—ñ‚ÉŠÜ‚Ü‚ê‚éŠÂ‹«•Ï”‚ð“WŠJ‚·‚éB
+1‚ˆȏã‚̊‹«•Ï”•¶Žš—ñ(%variableName%)‚ð“WŠJ‚µA“–ŠY•¶Žš—ñ‚ðƒJƒŒƒ“ƒgƒ†[ƒU‚Ì’è‹`‚³‚ꂽ’l‚É’u‚«Š·‚¦‚éB
 </p>
 
 <h2>—á</h2>
 
 <pre class="macro-example">
-str = "%WINDIR%\notepad.exe"
+str = &quot;%WINDIR%\notepad.exe&quot;
 expandenv str
-messagebox str "env"
+messagebox str &quot;env&quot;    ; C:\WINDOWS\notepad.exe
 </pre>
 
 <pre class="macro-example">
-expandenv str "%WINDIR%\notepad.exe"
-messagebox str "env"
+expandenv str &quot;%WINDIR%\notepad.exe&quot;
+messagebox str &quot;env&quot;    ; C:\WINDOWS\notepad.exe
 </pre>
 
+<pre class="macro-example">
+expandenv str &quot;%test%\notepad.exe&quot;
+messagebox str &quot;env&quot;    ; %test%\notepad.exe
+</pre>
+
 </body>
 </html>



Ttssh2-commit メーリングリストの案内
Back to archive index