Bladeren bron

[DOCUMENT] Japanese sync

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21495 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 jaren geleden
bovenliggende
commit
f9902a6489

+ 42 - 0
documentation/manual/ja/module_specs/Zend_Application-AvailableResources-Mail.xml

@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Reviewed: no -->
+<!-- EN-Revision: 20115 -->
+<sect2 id="zend.application.available-resources.mail">
+    <title>Zend_Application_Resource_Mail</title>
+
+    <para>
+        <classname>Zend_Application_Resource_Mail</classname> は、
+        <classname>Zend_Mail</classname> 用のトランスポートをインスタンス化したり、
+        既定の名前やアドレス、さらに replyto の名前やアドレスを設定するために使われます。
+    </para>
+
+    <para>
+        トランスポートがインスタンス化されると、自動的に <classname>Zend_Mail</classname>
+        に登録されます。ただし、 <property>transport.register</property> ディレクティブを
+        <constant>FALSE</constant> に設定すると、この動作は行なわれなくなります。
+    </para>
+
+    <example id="zend.application.available-resources.mail.configExample">
+        <title>メール・リソース構成サンプル</title>
+
+        <para>
+            下記は、メール・リソースプラグインを設定する方法を示す、
+            <acronym>INI</acronym>スニペット・サンプルです。
+        </para>
+
+        <programlisting language="ini"><![CDATA[
+resources.mail.transport.type = smtp
+resources.mail.transport.host = "smtp.example.com"
+resources.mail.transport.auth = login
+resources.mail.transport.username = myUsername
+resources.mail.transport.password = myPassword
+resources.mail.transport.register = true ; True by default
+
+resources.mail.defaultFrom.email = john@example.com
+resources.mail.defaultFrom.name = "John Doe"
+resources.mail.defaultReplyTo.email = Jane@example.com
+resources.mail.defaultReplyTo.name = "Jane Doe"
+]]></programlisting>
+
+    </example>
+</sect2>

+ 8 - 10
documentation/manual/ja/module_specs/Zend_Mail-MultipleEmails.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20039 -->
+<!-- EN-Revision: 20819 -->
 <sect1 id="zend.mail.multiple-emails">
     <title>SMTP 接続による複数のメールの送信</title>
 
@@ -12,16 +12,14 @@
         メッセージの配送の前に RSET コマンドを発行します。
     </para>
 
-    <!-- TODO : to be translated -->
     <para>
-        Optionally, you can also define a default From email address and name,
-        as well as a default reply-to header. This can be done through the static
-        methods <methodname>setDefaultFrom()</methodname> and
-        <methodname>setDefaultReplyTo()</methodname>. These defaults will be used when you
-        don't specify a From/Reply-to Address or -Name until the defaults are reset (cleared).
-        Resetting the defaults can be done through the use of the
-        <methodname>clearDefaultFrom()</methodname> and
-        <methodname>clearDefaultReplyTo</methodname>.
+        任意で、既定の reply-to ヘッダだけではなく、既定の email アドレスと名前も
+        定義できます。これは静的メソッド <methodname>setDefaultFrom()</methodname>
+        及び <methodname>setDefaultReplyTo()</methodname> を介して行なわれます。
+        これらの既定値は、既定値がリセット(消去)されるまで、 From/Reply-to のアドレスや
+        名前を指定しない場合に使われます。
+        既定値は <methodname>clearDefaultFrom()</methodname> 及び
+        <methodname>clearDefaultReplyTo</methodname> を使って消去されます。
     </para>
 
     <example id="zend.mail.multiple-emails.example-1">