Skip to content

Commit e93adba

Browse files
authored
Retranslate dns-get-record (#924)
1 parent 4610726 commit e93adba

File tree

3 files changed

+69
-57
lines changed

3 files changed

+69
-57
lines changed

reference/ftp/configure.xml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,50 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: Avenger Status: ready -->
4-
<!-- CREDITS: mowangjuanzi -->
3+
<!-- EN-Revision: af432424136ff55777bd92ff4f83f01594612ef1 Maintainer: Avenger Status: ready -->
4+
<!-- CREDITS: mowangjuanzi, Luffy -->
55
<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook">
66
&reftitle.install;
77
<para>
88
为了在 PHP 配置中使用 FTP 函数,应该在安装 PHP 时添加
99
<option role="configure">--enable-ftp</option> 选项。
1010
</para>
11+
<para>
12+
在 Autotools 中,当使用 <literal>openssl</literal> 扩展一起构建时,FTP SSL
13+
支持会隐式启用,使用 <option role="configure">--with-openssl</option>
14+
配置选项。当不使用 <literal>openssl</literal> 扩展构建时,可以使用
15+
<option role="configure">--with-ftp-ssl</option> Autotools 配置选项显式启用
16+
FTP SSL 支持。
17+
</para>
1118
<para>
1219
在 Windows 上,此扩展始终编译为共享扩展,因此必须在 &php.ini; 中启用。
1320
</para>
21+
22+
<simplesect role="changelog">
23+
&reftitle.changelog;
24+
<para>
25+
<informaltable>
26+
<tgroup cols="2">
27+
<thead>
28+
<row>
29+
<entry>&Version;</entry>
30+
<entry>&Description;</entry>
31+
</row>
32+
</thead>
33+
<tbody>
34+
<row>
35+
<entry>8.4.0</entry>
36+
<entry>
37+
从 Autotools 配置选项 <option role="configure">--with-openssl-dir</option>
38+
中移除,改为使用新的
39+
<option role="configure">--with-ftp-ssl</option> 显式启用 FTP SSL 支持,
40+
当不使用 <literal>openssl</literal> 扩展构建时。
41+
</entry>
42+
</row>
43+
</tbody>
44+
</tgroup>
45+
</informaltable>
46+
</para>
47+
</simplesect>
1448
</section>
1549

1650
<!-- Keep this comment at the end of the file

reference/network/functions/dns-get-record.xml

Lines changed: 29 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 7be2426e49ee1c9131866f20b67a48aaea0a642a Maintainer: zhoumengkang Status: partial -->
4-
<!-- CREDITS: mowangjuanzi -->
3+
<!-- EN-Revision: 7be2426e49ee1c9131866f20b67a48aaea0a642a Maintainer: zhoumengkang Status: ready -->
4+
<!-- CREDITS: mowangjuanzi, Luffy -->
55
<refentry xml:id="function.dns-get-record" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>dns_get_record</refname>
@@ -113,7 +113,7 @@
113113
<row>
114114
<entry>host</entry>
115115
<entry>
116-
The record in the DNS namespace to which the rest of the associated data refers.
116+
与其余相关数据引用的 DNS 命名空间中的记录。
117117
</entry>
118118
</row>
119119
<row>
@@ -131,9 +131,8 @@
131131
<row>
132132
<entry>ttl</entry>
133133
<entry>
134-
<literal>"Time To Live"</literal> remaining for this record. This will <emphasis>not</emphasis> equal
135-
the record's original ttl, but will rather equal the original ttl minus whatever
136-
length of time has passed since the authoritative name server was queried.
134+
与此记录相关的 <literal>"Time To Live"</literal>。
135+
这将<emphasis>不会</emphasis>等于记录的原始 ttl,而是等于原始 ttl 减去自权威名称服务器查询以来经过的时间长度。
137136
</entry>
138137
</row>
139138
</tbody>
@@ -167,22 +166,19 @@
167166
<row>
168167
<entry><literal>CNAME</literal></entry>
169168
<entry>
170-
<literal>target</literal>: FQDN of location in DNS namespace to which
171-
the record is aliased.
169+
<literal>target</literal>:该记录在 DNS 命名空间中的 FQDN 别名。
172170
</entry>
173171
</row>
174172
<row>
175173
<entry><literal>NS</literal></entry>
176174
<entry>
177-
<literal>target</literal>: FQDN of the name server which is authoritative
178-
for this hostname.
175+
<literal>target</literal>:此主机名的权威名称服务器的 FQDN。
179176
</entry>
180177
</row>
181178
<row>
182179
<entry><literal>PTR</literal></entry>
183180
<entry>
184-
<literal>target</literal>: Location within the DNS namespace to which
185-
this record points.
181+
<literal>target</literal>:此记录指向的 DNS 命名空间中的位置。
186182
</entry>
187183
</row>
188184
<row>
@@ -194,12 +190,9 @@
194190
<row>
195191
<entry><literal>HINFO</literal></entry>
196192
<entry>
197-
<literal>cpu</literal>: IANA number designating the CPU of the machine
198-
referenced by this record.
199-
<literal>os</literal>: IANA number designating the Operating System on
200-
the machine referenced by this record.
201-
See IANA's <link xlink:href="&url.iana.system-names;"><literal>Operating System
202-
Names</literal></link> for the meaning of these values.
193+
<literal>cpu</literal>:指定此记录引用的机器的 CPU 的 IANA 号。
194+
<literal>os</literal>:指定此记录引用的机器的操作系统的 IANA 号。
195+
请参阅 IANA 的 <link xlink:href="&url.iana.system-names;"><literal>Operating System Names</literal></link>。
203196
</entry>
204197
</row>
205198
<row>
@@ -215,23 +208,14 @@
215208
<row>
216209
<entry><literal>SOA</literal></entry>
217210
<entry>
218-
<literal>mname</literal>: FQDN of the machine from which the resource
219-
records originated.
220-
<literal>rname</literal>: Email address of the administrative contact
221-
for this domain.
222-
<literal>serial</literal>: Serial # of this revision of the requested
223-
domain.
224-
<literal>refresh</literal>: Refresh interval (seconds) secondary name
225-
servers should use when updating remote copies of this domain.
226-
<literal>retry</literal>: Length of time (seconds) to wait after a
227-
failed refresh before making a second attempt.
228-
<literal>expire</literal>: Maximum length of time (seconds) a secondary
229-
DNS server should retain remote copies of the zone data without a
230-
successful refresh before discarding.
231-
<literal>minimum-ttl</literal>: Minimum length of time (seconds) a
232-
client can continue to use a DNS resolution before it should request
233-
a new resolution from the server. Can be overridden by individual
234-
resource records.
211+
<literal>mname</literal>:资源记录来源的机器的 FQDN。
212+
<literal>rname</literal>:此域的管理联系人的电子邮件地址。
213+
<literal>serial</literal>:请求域的此修订的序列号。
214+
<literal>refresh</literal>:次要名称服务器在更新此域的远程副本时应使用的刷新间隔(秒)。
215+
<literal>retry</literal>:在刷新失败后等待的时间长度(秒),然后再进行第二次尝试。
216+
<literal>expire</literal>:在成功刷新之前,次要 DNS 服务器应保留远程副本的最长时间(秒)。
217+
<literal>minimum-ttl</literal>:客户端可以继续使用 DNS 解析的最短时间(秒),
218+
在此之前应该从服务器请求新的解析。可以被单独的资源记录覆盖。
235219
</entry>
236220
</row>
237221
<row>
@@ -243,33 +227,26 @@
243227
<row>
244228
<entry><literal>A6</literal></entry>
245229
<entry>
246-
<literal>masklen</literal>: Length (in bits) to inherit from the target
247-
specified by <parameter>chain</parameter>.
248-
<literal>ipv6</literal>: Address for this specific record to merge with
249-
<parameter>chain</parameter>.
250-
<literal>chain</literal>: Parent record to merge with
251-
<parameter>ipv6</parameter> data.
230+
<literal>masklen</literal>:从 <parameter>chain</parameter> 指定的目标继承的长度(以位为单位)。
231+
<literal>ipv6</literal>:要与 <parameter>chain</parameter> 合并的特定记录的地址。
232+
<literal>chain</literal>:要与 <parameter>ipv6</parameter> 数据合并的父记录。
252233
</entry>
253234
</row>
254235
<row>
255236
<entry><literal>SRV</literal></entry>
256237
<entry>
257-
<literal>pri</literal>: (Priority) lowest priorities should be used first.
258-
<literal>weight</literal>: Ranking to weight which of commonly prioritized
259-
<parameter>targets</parameter> should be chosen at random.
260-
<literal>target</literal> and <literal>port</literal>: hostname and port
261-
where the requested service can be found.
262-
For additional information see: <link xlink:href="&url.rfc;2782">RFC 2782</link>
238+
<literal>pri</literal>:(优先级)应该首先使用最低优先级。
239+
<literal>weight</literal>:用于加权常见优先级的目标应该随机选择。
240+
<literal>target</literal> 和 <literal>port</literal>:请求服务的主机名和端口。
241+
更多信息参阅:<link xlink:href="&url.rfc;2782">RFC 2782</link>。
263242
</entry>
264243
</row>
265244
<row>
266245
<entry><literal>NAPTR</literal></entry>
267246
<entry>
268-
<literal>order</literal> and <literal>pref</literal>: Equivalent to
269-
<parameter>pri</parameter> and <parameter>weight</parameter> above.
270-
<literal>flags</literal>, <literal>services</literal>, <literal>regex</literal>,
271-
and <literal>replacement</literal>: Parameters as defined by
272-
<link xlink:href="&url.rfc;2915">RFC 2915</link>.
247+
<literal>order</literal> 和 <literal>pref</literal>:等同于上面的 <literal>pri</literal> 和 <literal>weight</literal>。
248+
<literal>flags</literal>、<literal>services</literal>、<literal>regex</literal> 和 <literal>replacement</literal>:
249+
由 <link xlink:href="&url.rfc;2915">RFC 2915</link> 定义的参数。
273250
</entry>
274251
</row>
275252
</tbody>

reference/oauth/oauth/enablesslchecks.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: af5f2f87b3b0bb9ee0f83ccb787a4e7db1eb6bd4 Maintainer: ichenshy Status: ready -->
4-
<!-- CREDITS: mowangjuanzi -->
3+
<!-- EN-Revision: 5537c5f3caee7b8c688bc3adef258687a8365cb4 Maintainer: ichenshy Status: ready -->
4+
<!-- CREDITS: mowangjuanzi, Luffy -->
55
<refentry xml:id="oauth.enablesslchecks" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>OAuth::enableSSLChecks</refname>
@@ -15,7 +15,8 @@
1515
<void />
1616
</methodsynopsis>
1717
<para>
18-
启用通常的l SSL 对等证书和主机检查(默认为启用)。或者,可以设置 <parameter>sslChecks</parameter> 成员为一个非 &false; 值来启用 SSL 检查。
18+
启用通常的 SSL 对等证书和主机检查(默认启用)。
19+
另外,可以设置 <link linkend="oauth.props.sslchecks">sslChecks</link> 属性为非 &false; 值来启用 SSL 检查。
1920
</para>
2021
</refsect1>
2122

0 commit comments

Comments
 (0)