svn: /phpdoc/fr/trunk/reference/ datetime/datetimeinterface/getoffset.xml mysqli/book.xml network/functions/dns-get-record.xml strings/functions/sprintf.xml strings/functions/vsprintf.xml
[email protected] (George Peter Banyard)
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
girgias Mon, 28 Dec 2020 16:50:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=352246
Log:
Sync FR with EN
Changed paths:
U phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml
U phpdoc/fr/trunk/reference/mysqli/book.xml
U phpdoc/fr/trunk/reference/network/functions/dns-get-record.xml
U phpdoc/fr/trunk/reference/strings/functions/sprintf.xml
U phpdoc/fr/trunk/reference/strings/functions/vsprintf.xml
svn-diffs-352246.txt
(text/x-diff, 10.9 KB)
Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml 2020-12-28 16:39:32 UTC (rev 352245)
+++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml 2020-12-28 16:50:37 UTC (rev 352246)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352182 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="datetime.getoffset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -15,15 +15,15 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTime::getOffset</methodname>
+ <modifier>public</modifier><type>int</type><methodname>DateTime::getOffset</methodname>
<void/>
</methodsynopsis>
<methodsynopsis role="DateTimeImmutable">
- <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeImmutable::getOffset</methodname>
+ <modifier>public</modifier><type>int</type><methodname>DateTimeImmutable::getOffset</methodname>
<void/>
</methodsynopsis>
<methodsynopsis role="DateTimeInterface">
- <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeInterface::getOffset</methodname>
+ <modifier>public</modifier><type>int</type><methodname>DateTimeInterface::getOffset</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
Modified: phpdoc/fr/trunk/reference/mysqli/book.xml
===================================================================
--- phpdoc/fr/trunk/reference/mysqli/book.xml 2020-12-28 16:39:32 UTC (rev 352245)
+++ phpdoc/fr/trunk/reference/mysqli/book.xml 2020-12-28 16:50:37 UTC (rev 352246)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337700 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352184 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<book xml:id="book.mysqli" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
@@ -54,7 +53,6 @@
&reference.mysqli.constants;
&reference.mysqli.notes;
&reference.mysqli.summary;
- &reference.mysqli.examples;
&reference.mysqli.mysqli;
&reference.mysqli.mysqli-stmt;
&reference.mysqli.mysqli-result;
Modified: phpdoc/fr/trunk/reference/network/functions/dns-get-record.xml
===================================================================
--- phpdoc/fr/trunk/reference/network/functions/dns-get-record.xml 2020-12-28 16:39:32 UTC (rev 352245)
+++ phpdoc/fr/trunk/reference/network/functions/dns-get-record.xml 2020-12-28 16:50:37 UTC (rev 352246)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352215 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="function.dns-get-record" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>dns_get_record</refname>
@@ -14,9 +13,9 @@
<methodsynopsis>
<type class="union"><type>array</type><type>false</type></type><methodname>dns_get_record</methodname>
<methodparam><type>string</type><parameter>hostname</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>DNS_ANY</initializer></methodparam>
- <methodparam choice="opt"><type>array</type><parameter role="reference">authns</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter role="reference">addtl</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>DNS_ANY</constant></initializer></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter role="reference">authoritative_name_servers</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter role="reference">additional_records</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>raw</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
@@ -84,7 +83,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>authns</parameter></term>
+ <term><parameter>authoritative_name_servers</parameter></term>
<listitem>
<para>
Passé par référence, et, s'il est fourni, recevra les
@@ -94,7 +93,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>addtl</parameter></term>
+ <term><parameter>additional_records</parameter></term>
<listitem>
<para>
Passé par référence, et, s'il est fourni, recevra tous les
@@ -376,8 +375,8 @@
<para>
Comme il est très courant de rechercher l'IP d'un serveur,
une fois que le champ MX a été résolu, <function>dns_get_record</function>
- retournera aussi un tableau dans le paramètre <parameter>addtl</parameter>
- qui contiendra les enregistrements associés. <parameter>authns</parameter>
+ retournera aussi un tableau dans le paramètre <parameter>additional_records</parameter>
+ qui contiendra les enregistrements associés. <parameter>authoritative_name_servers</parameter>
est aussi retourné en contenant une liste des serveurs autorité.
</para>
<programlisting role="php">
@@ -539,7 +538,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/strings/functions/sprintf.xml
===================================================================
--- phpdoc/fr/trunk/reference/strings/functions/sprintf.xml 2020-12-28 16:39:32 UTC (rev 352245)
+++ phpdoc/fr/trunk/reference/strings/functions/sprintf.xml 2020-12-28 16:50:37 UTC (rev 352246)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352213 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sprintf">
- <refnamediv>
+<refentry xml:id="function.sprintf" xmlns="http://docbook.org/ns/docbook">
+<refnamediv>
<refname>sprintf</refname>
<refpurpose>Retourne une chaîne formatée</refpurpose>
</refnamediv>
@@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>string</type><type>false</type></type><methodname>sprintf</methodname>
+ <type>string</type><methodname>sprintf</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
@@ -43,10 +42,32 @@
&reftitle.returnvalues;
<para>
Retourne une &string; créée suivant le format
- <parameter>format</parameter>, &return.falseforfailure;.
+ <parameter>format</parameter>.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ Cette fonction ne retourne plus &false; en cas d'échec.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example>
@@ -227,7 +248,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -247,4 +267,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
Modified: phpdoc/fr/trunk/reference/strings/functions/vsprintf.xml
===================================================================
--- phpdoc/fr/trunk/reference/strings/functions/vsprintf.xml 2020-12-28 16:39:32 UTC (rev 352245)
+++ phpdoc/fr/trunk/reference/strings/functions/vsprintf.xml 2020-12-28 16:50:37 UTC (rev 352246)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352213 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.vsprintf">
+<refentry xml:id="function.vsprintf" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>vsprintf</refname>
<refpurpose>Retourne une chaîne formatée</refpurpose>
@@ -12,9 +11,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>string</type><type>false</type></type><methodname>vsprintf</methodname>
+ <type>string</type><methodname>vsprintf</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam><type>array</type><parameter>args</parameter></methodparam>
+ <methodparam><type>array</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
<function>vsprintf</function> fonctionne comme <function>sprintf</function>,
@@ -28,7 +27,7 @@
<variablelist>
&strings.parameter.format;
<varlistentry>
- <term><parameter>args</parameter></term>
+ <term><parameter>values</parameter></term>
<listitem>
<para>
</para>
@@ -42,11 +41,41 @@
&reftitle.returnvalues;
<para>
Retourne une chaîne formatée à partir du tableau de valeurs
- <parameter>args</parameter>, et en utilisant le format
- <parameter>format</parameter>, &return.falseforfailure;.
+ <parameter>values</parameter>, et en utilisant le format
+ <parameter>format</parameter>.
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Return array values as a formatted string according to
+ <parameter>format</parameter>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ Cette fonction ne retourne plus &false; en cas d'échec.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -87,7 +116,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml