Skip to content

Commit c260bef

Browse files
committed
Update phar/random/readline/sockets
1 parent 58b45cd commit c260bef

File tree

7 files changed

+367
-102
lines changed

7 files changed

+367
-102
lines changed

reference/curl/constants_curl_setopt.xml

+13-23
Original file line numberDiff line numberDiff line change
@@ -3269,9 +3269,7 @@
32693269
</term>
32703270
<listitem>
32713271
<para>
3272-
Set to the filename of the <filename>known_host</filename> file to use
3273-
which should use the OpenSSH file format as supported by libssh2.
3274-
Available as of cURL 7.19.6.
3272+
设置为要使用的 <filename>known_host</filename> 文件的文件名,该文件应使用 libssh2 支持的 OpenSSH 文件格式。自 cURL 7.19.6 起可用。
32753273
</para>
32763274
</listitem>
32773275
</varlistentry>
@@ -3282,12 +3280,9 @@
32823280
</term>
32833281
<listitem>
32843282
<para>
3285-
The file name for a private key. If not used, cURL defaults to
3286-
<filename>$HOME/.ssh/id_dsa</filename> if the HOME environment variable is set,
3287-
and just <literal>id_dsa</literal> in the current directory if HOME is not set.
3288-
If the file is password-protected, set the password with
3289-
<constant>CURLOPT_KEYPASSWD</constant>.
3290-
Available as of cURL 7.16.1.
3283+
私钥的文件名。如果未指定,cURL 会默认使用 <filename>$HOME/.ssh/id_dsa</filename>(如果设置了 HOME
3284+
环境变量的话),或者在 HOME 未设置的情况下,默认使用当前目录下的 <literal>id_dsa</literal>
3285+
文件。如果文件受密码保护,则需要使用 <constant>CURLOPT_KEYPASSWD</constant> 设置密码,自 cURL 7.16.1 起可用。
32913286
</para>
32923287
</listitem>
32933288
</varlistentry>
@@ -3298,10 +3293,9 @@
32983293
</term>
32993294
<listitem>
33003295
<para>
3301-
The file name for a public key. If not used, cURL defaults to
3302-
<filename>$HOME/.ssh/id_dsa.pub</filename> if the HOME environment variable is set,
3303-
and just <literal>id_dsa.pub</literal> in the current directory if HOME is not set.
3304-
Available as of cURL 7.16.1.
3296+
公钥的文件名。如果未指定,cURL 会默认使用 <filename>$HOME/.ssh/id_dsa.pub</filename>(如果设置了 HOME
3297+
环境变量的话),或者在 HOME 未设置的情况下,默认使用当前目录下的 <literal>id_dsa.pub</literal>
3298+
文件。自 cURL 7.16.1 起可用。
33053299
</para>
33063300
</listitem>
33073301
</varlistentry>
@@ -3312,8 +3306,7 @@
33123306
</term>
33133307
<listitem>
33143308
<para>
3315-
The name of a file containing a PEM formatted certificate.
3316-
Available as of cURL 7.1.0.
3309+
包含 PEM 格式证书的文件名称。自 cURL 7.1.0 起可用。
33173310
</para>
33183311
</listitem>
33193312
</varlistentry>
@@ -3324,9 +3317,7 @@
33243317
</term>
33253318
<listitem>
33263319
<para>
3327-
The password required to use the
3328-
<constant>CURLOPT_SSLCERT</constant> certificate.
3329-
Available as of cURL 7.1.0 and deprecated as of cURL 7.17.0.
3320+
使用 <constant>CURLOPT_SSLCERT</constant> 证书所需的密码。自 cURL 7.1.0 起可用,自 cURL 7.17.0 起已弃用。
33303321
</para>
33313322
</listitem>
33323323
</varlistentry>
@@ -3337,16 +3328,15 @@
33373328
</term>
33383329
<listitem>
33393330
<para>
3340-
A <type>string</type> with the format of the certificate. Supported formats are:
3331+
<type>string</type> 的证书格式。支持的格式有:
33413332
<simplelist type="inline">
33423333
<member><literal>PEM</literal></member>
33433334
<member><literal>DER</literal></member>
33443335
<member><literal>ENG</literal></member>
33453336
<member><literal>P12</literal></member>
3346-
</simplelist>.
3347-
<literal>P12</literal> (for PKCS#12-encoded files) is available as of OpenSSL 0.9.3.
3348-
Defaults to <literal>PEM</literal>.
3349-
Available as of cURL 7.9.3.
3337+
</simplelist>。
3338+
<literal>P12</literal>(用于 PKCS#12 编码文件)自 OpenSSL 0.9.3
3339+
起可用。默认 <literal>PEM</literal>。自 cURL 7.9.3 起可用。
33503340
</para>
33513341
</listitem>
33523342
</varlistentry>

reference/phar/Phar/delete.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: f03806fcd8fe03a0501bd40b6e3939ff6589a1d2 Maintainer: MiniMee Status: ready -->
3+
<!-- EN-Revision: c8ba91f7e546462dc66c2a11a7eab6f55c93915b Maintainer: MiniMee Status: ready -->
44
<!-- CREDITS: mowangjuanzi -->
55
<refentry xml:id="phar.delete" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis role="Phar">
14-
<modifier>public</modifier> <type>bool</type><methodname>Phar::delete</methodname>
14+
<modifier>public</modifier> <type>true</type><methodname>Phar::delete</methodname>
1515
<methodparam><type>string</type><parameter>localName</parameter></methodparam>
1616
</methodsynopsis>
1717
&phar.write;
@@ -40,7 +40,7 @@
4040
<refsect1 role="returnvalues">
4141
&reftitle.returnvalues;
4242
<para>
43-
成功时返回 &true;,但是最好还是检查一下是否抛出了异常,如果没有抛出,可以认定操作成功。
43+
&return.true.always;
4444
</para>
4545
</refsect1>
4646

reference/random/book.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: mowangjuanzi Status: ready -->
2+
<!-- EN-Revision: 550b9c3c31a66c18c9303794c12260bf5c684fed Maintainer: mowangjuanzi Status: ready -->
33
<!-- CREDITS: Luffy -->
44
<book xml:id="book.random" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<?phpdoc extension-membership="core" ?>
@@ -18,6 +18,7 @@
1818
&reference.random.reference;
1919

2020
&reference.random.random.randomizer;
21+
&reference.random.random.intervalboundary;
2122

2223
&reference.random.random.engine;
2324
&reference.random.random.cryptosafeengine;

reference/readline/functions/readline-add-history.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: cef062f45e1ba5691158b591381a9a9efc1e346d Maintainer: Szopen Xiao Status: ready -->
3+
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: Szopen Xiao Status: ready -->
44
<!-- CREDITS: mowangjuanzi -->
55
<refentry xml:id="function.readline-add-history" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>bool</type><methodname>readline_add_history</methodname>
14+
<type>true</type><methodname>readline_add_history</methodname>
1515
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
1616
</methodsynopsis>
1717
<para>
@@ -38,7 +38,7 @@
3838
<refsect1 role="returnvalues">
3939
&reftitle.returnvalues;
4040
<para>
41-
&return.success;
41+
&return.true.always;
4242
</para>
4343
</refsect1>
4444
</refentry>

reference/readline/functions/readline-callback-handler-install.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5106807f258ed4b465f89b9faf4375f628e02b98 Maintainer: Szopen Xiao Status: ready -->
3+
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: Szopen Xiao Status: ready -->
44
<!-- CREDITS: mowangjuanzi -->
55
<refentry xml:id="function.readline-callback-handler-install" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>bool</type><methodname>readline_callback_handler_install</methodname>
14+
<type>true</type><methodname>readline_callback_handler_install</methodname>
1515
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
1616
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1717
</methodsynopsis>
@@ -51,7 +51,7 @@
5151
<refsect1 role="returnvalues">
5252
&reftitle.returnvalues;
5353
<para>
54-
&return.success;
54+
&return.true.always;
5555
</para>
5656
</refsect1>
5757

@@ -113,7 +113,6 @@ echo "Prompting disabled. All done.\n";
113113
</refsect1>
114114

115115
</refentry>
116-
117116
<!-- Keep this comment at the end of the file
118117
Local variables:
119118
mode: sgml

reference/readline/functions/readline-clear-history.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5106807f258ed4b465f89b9faf4375f628e02b98 Maintainer: Szopen Xiao Status: ready -->
3+
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: Szopen Xiao Status: ready -->
44
<!-- CREDITS: mowangjuanzi -->
55
<refentry xml:id="function.readline-clear-history" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>bool</type><methodname>readline_clear_history</methodname>
14+
<type>true</type><methodname>readline_clear_history</methodname>
1515
<void/>
1616
</methodsynopsis>
1717
<para>
@@ -27,11 +27,10 @@
2727
<refsect1 role="returnvalues">
2828
&reftitle.returnvalues;
2929
<para>
30-
&return.success;
30+
&return.true.always;
3131
</para>
3232
</refsect1>
3333
</refentry>
34-
3534
<!-- Keep this comment at the end of the file
3635
Local variables:
3736
mode: sgml

0 commit comments

Comments
 (0)