فهرست منبع

[DOCUMENT] Japanese sync 22159,22236,22390,22090

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22396 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 15 سال پیش
والد
کامیت
355326ba4d

+ 3 - 4
documentation/manual/ja/module_specs/Zend_Measure-Edit.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 21815 -->
+<!-- EN-Revision: 22159 -->
 <sect1 id="zend.measure.edit">
 
     <title>計測値の操作</title>
@@ -98,9 +98,8 @@ print "Ton:".$unit->convertTo(Zend_Measure_Weight::TON, 3);
 
         <para>
             複数の計測値の加算には <methodname>add()</methodname>、そして減算には <methodname>sub()</methodname>
-            を使用します。これらはそれぞれ、結果を格納した新しいオブジェクトを作成します。
-            このクラスがもとのオブジェクトを変更することはありません。
-            新しいオブジェクトは、もとのオブジェクトと同じ型になります。
+            を使用します。
+            その結果は、もとのオブジェクトと同じ型を使うでしょう。
             Dynamic objects support a fluid style of
             programming, where complex sequences of operations
             can be nested without risk of side-effects altering the

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Test-PHPUnit-Examples.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20807 -->
+<!-- EN-Revision: 22236 -->
 <sect2 id="zend.test.phpunit.examples">
     <title>例</title>
 
@@ -303,7 +303,7 @@ class UserControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
             テスト用の設定を行うという作業が各テストの最初に発生します。
             PHPUnit にはそのための機能が既に用意されています。
             <ulink
-                url="http://www.phpunit.de/pocket_guide/3.3/ja/database.html">
+                url="http://www.phpunit.de/manual/3.4/en/database.html">
                 PHPUnit のドキュメントを参照ください</ulink>。
             テスト時と実運用時には別のデータベースを使用することを推奨します。
             また、特に (ファイルあるいはインメモリ形式の) SQLite

+ 16 - 2
documentation/manual/ja/module_specs/Zend_Translate-Additional.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 22184 -->
+<!-- EN-Revision: 22390 -->
 <sect1 id="zend.translate.additional">
 
     <title>翻訳用の追加機能</title>
@@ -100,7 +100,21 @@ $translate->addTranslation(
                         <entry><emphasis><constant>FALSE</constant></emphasis></entry>
                     </row>
 
-                     <row>
+                    <row>
+                        <entry>cache</entry>
+                        <entry>all</entry>
+
+                        <entry>
+                            Sets a cache for the translation adapter. This must be a instance of
+                            <classname>Zend_Cache_Core</classname>
+                        </entry>
+
+                        <entry>
+                            <emphasis>Per default no cache is set</emphasis>
+                        </entry>
+                    </row>
+
+                    <row>
                         <entry>content</entry>
                         <entry>all</entry>
 

+ 13 - 5
documentation/manual/ja/module_specs/Zend_View-Helpers-HeadTitle.xml

@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 19436 -->
+<!-- EN-Revision: 22090 -->
 <sect3 id="zend.view.helpers.initial.headtitle">
     <title>HeadTitle ヘルパー</title>
 
     <para>
-        HTML の <emphasis>&lt;title&gt;</emphasis> 要素を使用して、
-        HTML ドキュメントのタイトルを設定します。
+        <acronym>HTML</acronym> の <emphasis>&lt;title&gt;</emphasis> 要素を使用して、
+        <acronym>HTML</acronym> ドキュメントのタイトルを設定します。
         <classname>HeadTitle</classname> ヘルパーは、
         プログラム上で作成したタイトルを保存しておいて、
         後で出力の際にそれを取得するためのものです。
@@ -21,12 +21,20 @@
         <methodname>headTitle()</methodname> メソッドによって title
         要素の設定や集約を簡単にできるようになっています。
         このメソッドのシグネチャは
-        <methodname>headTitle($title, $setType = 'APPEND')</methodname>
-        です。デフォルトでは、値はスタック (title 部の内容を集約したもの)
+        <methodname>headTitle($title, $setType = null)</methodname>
+        です。デフォルトでは、 null のままだと、値はスタック (title 部の内容を集約したもの)
         の最後に追加されます。しかしこれを 'PREPEND' (スタックの先頭に追加する)
         や 'SET' (スタック全体を上書きする) にすることもできます。
     </para>
 
+    <para>
+        Since setting the aggregating (attach) order on each call to <methodname>
+        headTitle</methodname> can be cumbersome, you can set a default attach order
+        by calling <methodname>setDefaultAttachOrder()</methodname> which is applied
+        to all <methodname>headTitle()</methodname> calls unless you explicitly
+        pass a different attach order as the second parameter.
+    </para>
+
     <example id="zend.view.helpers.initial.headtitle.basicusage">
         <title>HeadTitle ヘルパーの基本的な使用法</title>