svn: /phpdoc/ja/trunk/language/ constants.xml exceptions.xml predefined/closure/bindto.xml predefined/generator/throw.xml
| From: | Yoshinari Takaoka | Date: | Sun, 29 Dec 2019 09:31:43 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/language/ constants.xml exceptions.xml predefined/closure/bindto.xml predefined/generator/throw.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5271@lists.php.net to get a copy of this message | ||
mumumu Sun, 29 Dec 2019 09:31:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348720
Log:
translated some parts (status ready)
Changed paths:
U phpdoc/ja/trunk/language/constants.xml
U phpdoc/ja/trunk/language/exceptions.xml
U phpdoc/ja/trunk/language/predefined/closure/bindto.xml
U phpdoc/ja/trunk/language/predefined/generator/throw.xml
Modified: phpdoc/ja/trunk/language/constants.xml
===================================================================
--- phpdoc/ja/trunk/language/constants.xml 2019-12-29 09:31:19 UTC (rev 348719)
+++ phpdoc/ja/trunk/language/constants.xml 2019-12-29 09:31:43 UTC (rev 348720)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347270 Maintainer: hirokawa Status: working -->
+<!-- EN-Revision: 347270 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi,mumumu -->
<chapter xml:id="language.constants" xmlns="http://docbook.org/ns/docbook">
@@ -325,8 +325,9 @@
<row xml:id="constant.coloncolonclass">
<entry><constant>ClassName::class</constant></entry>
<entry>
- The fully qualified class name. See also
- <link
linkend="language.oop5.basic.class.class">::class</link>.<!-- to be translated
-->
+ 完全に修飾されたクラス名。
+ 詳しくは、
+ <link linkend="language.oop5.basic.class.class">::class</link>
を参照してください。
</entry>
</row>
</tbody>
Modified: phpdoc/ja/trunk/language/exceptions.xml
===================================================================
--- phpdoc/ja/trunk/language/exceptions.xml 2019-12-29 09:31:19 UTC (rev 348719)
+++ phpdoc/ja/trunk/language/exceptions.xml 2019-12-29 09:31:43 UTC (rev 348720)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346158 Maintainer: hirokawa Status: working -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 346158 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: takagi,mumumu -->
<chapter xml:id="language.exceptions" xmlns="http://docbook.org/ns/docbook">
<title>例外(exceptions)</title>
@@ -256,12 +256,10 @@
ただし、<function>set_exception_handler</function> でハンドラが
定義されている場合を除きます。
</para>
- <!-- to be translated -->
<para>
- In PHP 7.1 and later, a &catch; block may specify multiple exceptions
- using the pipe (<literal>|</literal>) character. This is useful for when
- different exceptions from different class hierarchies are handled the
- same.
+ PHP 7.1 以降では、&catch; ブロック で 複数の例外を
+ パイプ文字 (<literal>|</literal>)
を使って指定できるようになりました。
+
これは、異なるクラス改装からの例外を同時に扱う必要がある場合に有用です。
</para>
</simplesect>
<simplesect xml:id="language.exceptions.finally">
@@ -414,8 +412,7 @@
</screen>
</example>
<example>
- <!-- to be translated -->
- <title>Multi catch exception handling</title>
+ <title>複数の例外ハンドリングをひとつの catch で行う</title>
<programlisting role="php">
<![CDATA[
<?php
Modified: phpdoc/ja/trunk/language/predefined/closure/bindto.xml
===================================================================
--- phpdoc/ja/trunk/language/predefined/closure/bindto.xml 2019-12-29 09:31:19 UTC (rev 348719)
+++ phpdoc/ja/trunk/language/predefined/closure/bindto.xml 2019-12-29 09:31:43 UTC (rev 348720)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342186 Maintainer: takagi Status: working -->
+<!-- EN-Revision: 342186 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="closure.bindto" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -75,7 +76,7 @@
オブジェクトを渡した場合は、そのオブジェクトの型をその代わりに使います。
これは、バインドしたオブジェクトの protected メソッドや private
メソッドの可視性を決めます。
- It is not allowed to pass (an object of) an internal class as this parameter.<!-- to be
translated -->
+ PHPの内部で定義されたクラス (のオブジェクト) を
をパラメータとして渡すことはできません。
</para>
</listitem>
</varlistentry>
@@ -105,8 +106,9 @@
<row>
<entry>7.0.0</entry>
<entry>
- <parameter>newscope</parameter> can not be (an object of) an internal
- class anymore, what was possible prior to this version.<!-- to be translated -->
+ <parameter>newscope</parameter> には、
+ PHPの内部で定義されたクラス (のオブジェクト)
をパラメータとして渡すことができなくなりました。
+ これより前のバージョンでは、それが可能でした。
</entry>
</row>
</tbody>
Modified: phpdoc/ja/trunk/language/predefined/generator/throw.xml
===================================================================
--- phpdoc/ja/trunk/language/predefined/generator/throw.xml 2019-12-29 09:31:19 UTC (rev 348719)
+++ phpdoc/ja/trunk/language/predefined/generator/throw.xml 2019-12-29 09:31:43 UTC (rev 348720)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 341756 Maintainer: takagi Status: working -->
+<!-- EN-Revision: 341756 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="generator.throw" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -60,7 +61,8 @@
<row>
<entry>7.0.0</entry>
<entry>
- The <parameter>exception</parameter> parameter also accepts
<classname>Throwable</classname> now.
+ <parameter>exception</parameter> パラメーターは、
+ <classname>Throwable</classname> も受け入れるようになりました。
</entry>
</row>
</tbody>