cvs: phpdoc-ja /language namespaces.xml /reference/datetime/functions strftime.xml /reference/misc/functions get-browser.xml

From: Date: Wed, 04 Mar 2009 20:58:30 +0000
Subject: cvs: phpdoc-ja /language namespaces.xml /reference/datetime/functions strftime.xml /reference/misc/functions get-browser.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-2426@lists.php.net to get a copy of this message
takagi Wed Mar 4 20:58:30 2009 UTC Modified files: /phpdoc-ja/reference/misc/functions get-browser.xml /phpdoc-ja/reference/datetime/functions strftime.xml /phpdoc-ja/language namespaces.xml Log: sync with en. http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/misc/functions/get-browser.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-ja/reference/misc/functions/get-browser.xml diff -u phpdoc-ja/reference/misc/functions/get-browser.xml:1.10 phpdoc-ja/reference/misc/functions/get-browser.xml:1.11 --- phpdoc-ja/reference/misc/functions/get-browser.xml:1.10 Wed Feb 11 00:03:50 2009 +++ phpdoc-ja/reference/misc/functions/get-browser.xml Wed Mar 4 20:58:30 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.18 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.19 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <refentry xml:id="function.get-browser" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -122,7 +122,7 @@ [version] => 0.9 [majorver] => 0 [minorver] => 9 - [css] => 2 + [cssversion] => 2 [frames] => 1 [iframes] => 1 [tables] => 1 http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/datetime/functions/strftime.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc-ja/reference/datetime/functions/strftime.xml diff -u phpdoc-ja/reference/datetime/functions/strftime.xml:1.16 phpdoc-ja/reference/datetime/functions/strftime.xml:1.17 --- phpdoc-ja/reference/datetime/functions/strftime.xml:1.16 Tue Feb 17 09:00:36 2009 +++ phpdoc-ja/reference/datetime/functions/strftime.xml Wed Mar 4 20:58:30 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.27 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.28 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry xml:id="function.strftime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -216,7 +216,7 @@ </row> <row> <entry><literal>%R</literal></entry> - <entry>"%H:%I" と同じ</entry> + <entry>"%H:%M" と同じ</entry> <entry>12:35 AM なら <literal>00:35</literal>、4:44 PM なら <literal>16:44</literal></entry> </row> <row> http://cvs.php.net/viewvc.cgi/phpdoc-ja/language/namespaces.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/language/namespaces.xml diff -u phpdoc-ja/language/namespaces.xml:1.5 phpdoc-ja/language/namespaces.xml:1.6 --- phpdoc-ja/language/namespaces.xml:1.5 Wed Feb 18 04:01:14 2009 +++ phpdoc-ja/language/namespaces.xml Wed Mar 4 20:58:30 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- EN-Revision: 1.10 Maintainer: takagi Status: working --> <chapter xml:id="language.namespaces" xmlns="http://docbook.org/ns/docbook" version="1.1"> @@ -76,17 +76,16 @@ </sect1> <sect1 xml:id="language.namespaces.definition"> - <title>Defining namespaces</title> + <title>名前空間の定義</title> <para> - Although any valid PHP code can be contained within a namespace, only three - type of code are affected by namespaces: classes, functions and constants. + PHP のコードならなんでも名前空間に含めることができますが、 + 実際に名前空間の影響を受けるのはクラスと関数そして定数の 3 種類だけです。 </para> <para> - Namespaces are declared using the <literal>namespace</literal> - keyword. A file containing a namespace must declare the namespace - at the top of the file before any other code. + 名前空間を宣言するには、キーワード <literal>namespace</literal> + を使用します。名前空間を含むファイルでは、他のコードより前にファイルの先頭で名前空間を宣言しなければなりません。 <example> - <title>Declaring a single namespace</title> + <title>名前空間の宣言</title> <programlisting role="php"> <![CDATA[ <?php @@ -100,11 +99,11 @@ ]]> </programlisting> </example> - The only code construct allowed before a namespace declaration is the - <literal>declare</literal> statement, for defining encoding of a source file. In addition, - no non-PHP code may precede a namespace declaration, including extra whitespace: + 名前空間の宣言より前に書くことが許されているコードは + <literal>declare</literal> 文のみです。ソースファイルのエンコーディングを定義するために使用します。 + さらに、PHP コード以外であっても名前空間の宣言の前に記述することはできません (スペースも同様です)。 <example> - <title>Declaring a single namespace</title> + <title>名前空間の宣言</title> <programlisting role="php"> <![CDATA[ <html> @@ -116,18 +115,17 @@ </example> </para> <para> - In addition, unlike any other PHP construct, the same namespace may be defined - in multiple files, allowing splitting up of a namespace's contents across the filesystem. + さらに、他の PHP の制御構造とは異なり、同一の名前空間を複数のファイルで定義することができます。 + これにより、ひとつの名前空間の内容をファイルシステム上で分割することができます。 </para> </sect1> <sect1 xml:id="language.namespaces.nested"> - <title>Declaring sub-namespaces</title> + <title>サブ名前空間の宣言</title> <para> - Much like directories and files, PHP namespaces also contain the ability to specify - a hierarchy of namespace names. Thus, a namespace name can be defined with - sub-levels: + ディレクトリやファイルと同様、PHP の名前空間においても名前空間の階層構造を指定することができます。 + このようにして名前空間を定義します。 <example> - <title>Declaring a single namespace with hierarchy</title> + <title>階層つきの名前空間の宣言</title> <programlisting role="php"> <![CDATA[ <?php @@ -141,9 +139,9 @@ ]]> </programlisting> </example> - The above example creates constant <literal>MyProject\Sub\Level\CONNECT_OK</literal>, - class <literal>MyProject\Sub\Level\Connection</literal> and function - <literal>MyProject\Sub\Level\Connection</literal>. + 上の例は、定数 <literal>MyProject\Sub\Level\CONNECT_OK</literal> + とクラス <literal>MyProject\Sub\Level\Connection</literal>、 + そして関数 <literal>MyProject\Sub\Level\Connection</literal> を作成します。 </para> </sect1> <sect1 xml:id="language.namespaces.definitionmultiple">

« previous php.doc.ja (#2426) next »