Skip to content

Commit 8e64a12

Browse files
新たなPDOサブクラスとメソッドの翻訳
1 parent d72f35f commit 8e64a12

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+562
-1590
lines changed

reference/pdo/pdo/connect.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="pdo.connect" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
66
<refnamediv>
77
<refname>PDO::connect</refname>
8-
<refpurpose>Connect to a database and return a PDO subclass for drivers that support it</refpurpose>
8+
<refpurpose>データベースに接続しドライバが対応する PDO サブクラスを返す</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">
@@ -18,9 +18,9 @@
1818
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
1919
</methodsynopsis>
2020
<simpara>
21-
Creates an instance of a <classname>PDO</classname> subclass for the
22-
database being connection if it exists,
23-
otherwise return a generic <classname>PDO</classname> instance.
21+
接続するデータベースに対応する <classname>PDO</classname> サブクラスが
22+
存在する場合そのインスタンスを、
23+
存在しない場合は汎用的な <classname>PDO</classname> インスタンスを作成します。
2424
</simpara>
2525
</refsect1>
2626

@@ -31,9 +31,9 @@
3131
<refsect1 role="returnvalues">
3232
&reftitle.returnvalues;
3333
<simpara>
34-
Returns an instance of a <classname>PDO</classname> subclass for the
35-
corresponding PDO driver if it exists,
36-
or a generic <classname>PDO</classname> instance.
34+
接続するデータベースに対応する <classname>PDO</classname> サブクラスが
35+
存在する場合そのインスタンス、
36+
または汎用的な <classname>PDO</classname> インスタンスを返します。
3737
</simpara>
3838
</refsect1>
3939

reference/pdo/pdo/construct.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
<refsect1 role="errors">
113113
&reftitle.errors;
114114
<para>
115-
<methodname>PDO::__construct</methodname> は、
116115
指定されたデータベースへの接続に失敗した場合、
117116
<constant>PDO::ATTR_ERRMODE</constant> が設定されているかどうかに関わらず、
118117
<classname>PDOException</classname> をスローします。

reference/pdo_dblib/pdo-dblib.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- EN-Revision: 379d23588def29a360fca16d5daec6c659e13509 Maintainer: KentarouTakeda Status: ready -->
44
<!-- CREDITS: KentarouTakeda -->
55
<reference xml:id="class.pdo-dblib" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
6-
<title>The Pdo\Dblib class</title>
6+
<title>Pdo\Dblib クラス</title>
77
<titleabbrev>Pdo\Dblib</titleabbrev>
88

99
<partintro>
@@ -12,8 +12,7 @@
1212
<section xml:id="pdo-dblib.intro">
1313
&reftitle.intro;
1414
<simpara>
15-
A <classname>PDO</classname> subclass representing a connection using
16-
the DBLib PDO driver.
15+
DBLib PDO ドライバによる接続を示す <classname>PDO</classname> サブクラスです。
1716
</simpara>
1817
</section>
1918
<!-- }}} -->

reference/pdo_firebird/constants.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</term>
1313
<listitem>
1414
<para>
15-
日付フォーマットを設定します。
15+
<constant>Pdo\Firebird::ATTR_DATE_FORMAT</constant> &Alias;
1616
</para>
1717
</listitem>
1818
</varlistentry>
@@ -23,7 +23,7 @@
2323
</term>
2424
<listitem>
2525
<para>
26-
時刻フォーマットを設定します。
26+
<constant>Pdo\Firebird::ATTR_TIME_FORMAT</constant> &Alias;
2727
</para>
2828
</listitem>
2929
</varlistentry>
@@ -34,7 +34,7 @@
3434
</term>
3535
<listitem>
3636
<para>
37-
タイムスタンプフォーマットを設定します。
37+
<constant>Pdo\Firebird::ATTR_TIMESTAMP_FORMAT</constant> &Alias;
3838
</para>
3939
</listitem>
4040
</varlistentry>

reference/pdo_firebird/pdo-firebird.xml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
33
<!-- EN-Revision: b9cf1a2e7307131913ac3c16c2fb67ed9ad38527 Maintainer: KentarouTakeda Status: ready -->
4-
<!-- CREDITS: KentarouTakeda -->
4+
<!-- CREDITS: takagi,KentarouTakeda -->
55
<reference xml:id="class.pdo-firebird" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
6-
<title>The Pdo\Firebird class</title>
6+
<title>Pdo\Firebird クラス</title>
77
<titleabbrev>Pdo\Firebird</titleabbrev>
88

99
<partintro>
@@ -12,8 +12,7 @@
1212
<section xml:id="pdo-firebird.intro">
1313
&reftitle.intro;
1414
<simpara>
15-
A <classname>PDO</classname> subclass representing a connection using
16-
the Firebird PDO driver.
15+
Firebird PDO ドライバによる接続を示す <classname>PDO</classname> サブクラスです。
1716
</simpara>
1817
</section>
1918
<!-- }}} -->
@@ -110,74 +109,74 @@
110109
<term><constant>Pdo\Firebird::ATTR_DATE_FORMAT</constant></term>
111110
<listitem>
112111
<simpara>
113-
Sets the date format.
112+
日付フォーマットを設定します。
114113
</simpara>
115114
</listitem>
116115
</varlistentry>
117116
<varlistentry xml:id="pdo-firebird.constants.attr-time-format">
118117
<term><constant>Pdo\Firebird::ATTR_TIME_FORMAT</constant></term>
119118
<listitem>
120119
<simpara>
121-
Sets the time format.
120+
時刻フォーマットを設定します。
122121
</simpara>
123122
</listitem>
124123
</varlistentry>
125124
<varlistentry xml:id="pdo-firebird.constants.attr-timestamp-format">
126125
<term><constant>Pdo\Firebird::ATTR_TIMESTAMP_FORMAT</constant></term>
127126
<listitem>
128127
<simpara>
129-
Sets the timestamp format.
128+
タイムスタンプフォーマットを設定します。
130129
</simpara>
131130
</listitem>
132131
</varlistentry>
133132
<varlistentry xml:id="pdo-firebird.constants.transaction-isolation-level">
134133
<term><constant>Pdo\Firebird::TRANSACTION_ISOLATION_LEVEL</constant></term>
135134
<listitem>
136135
<simpara>
137-
Attribute to sets the transaction isolation level.
138-
This can be one of <constant>Pdo\Firebird::READ_COMMITTED</constant>,
139-
<constant>Pdo\Firebird::REPEATABLE_READ</constant>,
140-
or <constant>Pdo\Firebird::SERIALIZABLE</constant>.
136+
トランザクション分離レベルを設定します。
137+
<constant>Pdo\Firebird::READ_COMMITTED</constant>
138+
<constant>Pdo\Firebird::REPEATABLE_READ</constant>
139+
または <constant>Pdo\Firebird::SERIALIZABLE</constant> のいずれかです。
141140
</simpara>
142141
</listitem>
143142
</varlistentry>
144143
<varlistentry xml:id="pdo-firebird.constants.read-committed">
145144
<term><constant>Pdo\Firebird::READ_COMMITTED</constant></term>
146145
<listitem>
147146
<simpara>
148-
Flag denoting the <acronym>ANSI</acronym> transaction isolation
149-
level is read commited.
150-
This is the default behavior.
147+
<acronym>ANSI</acronym> トランザクション分離レベルが
148+
Read Committed であることを示すフラグです。
149+
これがデフォルトの動作です。
151150
</simpara>
152151
</listitem>
153152
</varlistentry>
154153
<varlistentry xml:id="pdo-firebird.constants.repeatable-read">
155154
<term><constant>Pdo\Firebird::REPEATABLE_READ</constant></term>
156155
<listitem>
157156
<simpara>
158-
Flag denoting the <acronym>ANSI</acronym> transaction isolation
159-
level is repeatable read.
160-
This corresponds to Firebird's "snapshot" isolation level.
157+
<acronym>ANSI</acronym> トランザクション分離レベルが
158+
Repeatable Read であることを示すフラグです。
159+
Firebird"snapshot" 分離レベルに相当します。
161160
</simpara>
162161
</listitem>
163162
</varlistentry>
164163
<varlistentry xml:id="pdo-firebird.constants.serializable">
165164
<term><constant>Pdo\Firebird::SERIALIZABLE</constant></term>
166165
<listitem>
167166
<simpara>
168-
Flag denoting the <acronym>ANSI</acronym> transaction isolation
169-
level is serializable.
170-
This corresponds to Firebird's "snapshot table stability" isolation level.
167+
<acronym>ANSI</acronym> トランザクション分離レベルが
168+
Serializeable であることを示すフラグです。
169+
Firebird"snapshot table stability" 分離レベルに相当します。
171170
</simpara>
172171
</listitem>
173172
</varlistentry>
174173
<varlistentry xml:id="pdo-firebird.constants.writable-transaction">
175174
<term><constant>Pdo\Firebird::WRITABLE_TRANSACTION</constant></term>
176175
<listitem>
177176
<simpara>
178-
Boolean attribute used to toggle the transaction access mode between
179-
<literal>READ ONLY</literal> and <literal>READ WRITE</literal>.
180-
By default, it is &true; indicating <literal>READ WRITE</literal>.
177+
ブール値で、トランザクションアクセスモードを
178+
<literal>READ ONLY</literal> または <literal>READ WRITE</literal> に設定します。
179+
デフォルトは &true; で、<literal>READ WRITE</literal> を表します。
181180
</simpara>
182181
</listitem>
183182
</varlistentry>

reference/pdo_firebird/pdo/firebird/getapiversion.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="pdo-firebird.getapiversion" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
77
<refname>Pdo\Firebird::getApiVersion</refname>
8-
<refpurpose>Get the API version</refpurpose>
8+
<refpurpose>APIバージョンを取得する</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">
@@ -15,8 +15,8 @@
1515
<void/>
1616
</methodsynopsis>
1717
<simpara>
18-
Returns the Firebird API version as defined by the C constant
19-
<constant>FB_API_VER</constant> in <filename class="headerfile">ibase.h</filename>.
18+
<filename class="headerfile">ibase.h</filename> 内で C 定数 <constant>FB_API_VER</constant> として定義されている
19+
Firebird API のバージョンを返します。
2020
</simpara>
2121
</refsect1>
2222

@@ -28,7 +28,7 @@
2828
<refsect1 role="returnvalues">
2929
&reftitle.returnvalues;
3030
<simpara>
31-
Returns the FireBird API as an <type>int</type>.
31+
FireBird API のバージョンを <type>int</type> 型で返します。
3232
</simpara>
3333
</refsect1>
3434
</refentry>

reference/pdo_mysql/configure.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ $ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock
5050
</screen>
5151
</para>
5252
<para>
53-
SSL サポートを有効にするには、適切な <link linkend="pdo-mysql.constants">PDO_MySQL 定数</link>
53+
<acronym>SSL</acronym> サポートを有効にするには、適切な
54+
<constant>Pdo\Mysql::ATTR_SSL_<replaceable>*</replaceable></constant>
5455
を指定します。これは <link xlink:href="&url.mysql.docs.ssl.set;">MySQL C API 関数 mysql_ssl_set()</link>
55-
をコールするのと同じ意味になります。また、SSL を <classname>PDO::setAttribute</classname>
56+
をコールするのと同じ意味になります。また、SSL を <methodname>PDO::setAttribute</methodname>
5657
で有効にすることはできません。というのも、この時点ではすでに接続が確立されてしまっているからです。
5758
MySQL のドキュメントで <link xlink:href="&url.mysql.docs.ssl.using;">SSL を使った
5859
MySQL への接続</link> について確認しましょう。

0 commit comments

Comments
 (0)