-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translate missing date classes (#831)
- Loading branch information
Showing
9 changed files
with
715 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 696b6b9e32d8d4ef4cfd874caf677a47a6cbadb4 Maintainer: Fan2Shrek Status: ready --> | ||
<!-- Reviewed: yes --> | ||
<phpdoc:exceptionref xml:id="class.dateerror" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<title>La classe DateError</title> | ||
<titleabbrev>DateError</titleabbrev> | ||
|
||
<partintro> | ||
|
||
<!-- {{{ DateError intro --> | ||
<section xml:id="dateerror.intro"> | ||
&reftitle.intro; | ||
<para> | ||
Lancée quand la base de données des fuseaux horaires n'est pas trouvée, ou contient des données invalides. | ||
</para> | ||
<para> | ||
Cette erreur ne devrait jamais se produire, et ne dépend pas du code. Il y a deux | ||
exceptions enfants (<exceptionname>DateObjectError</exceptionname> et | ||
<exceptionname>DateRangeError</exceptionname>) qui sont lancées en fonction | ||
des erreurs du développeur ou des problèmes de plage. | ||
</para> | ||
</section> | ||
<!-- }}} --> | ||
|
||
<section xml:id="dateerror.synopsis"> | ||
&reftitle.classsynopsis; | ||
|
||
<!-- {{{ Synopsis --> | ||
<classsynopsis class="class"> | ||
<ooexception> | ||
<exceptionname>DateError</exceptionname> | ||
</ooexception> | ||
|
||
<ooclass> | ||
<modifier>extends</modifier> | ||
<classname>Error</classname> | ||
</ooclass> | ||
|
||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))"> | ||
<xi:fallback/> | ||
</xi:include> | ||
|
||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Error'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Error'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
</classsynopsis> | ||
<!-- }}} --> | ||
|
||
</section> | ||
|
||
<section role="seealso"> | ||
&reftitle.seealso; | ||
<simplelist> | ||
<member><exceptionname>DateObjectError</exceptionname></member> | ||
<member><exceptionname>DateRangeError</exceptionname></member> | ||
</simplelist> | ||
</section> | ||
</partintro> | ||
|
||
</phpdoc:exceptionref> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 696b6b9e32d8d4ef4cfd874caf677a47a6cbadb4 Maintainer: Fan2Shrek Status: ready --> | ||
<!-- Reviewed: yes --> | ||
<phpdoc:exceptionref xml:id="class.dateexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<title>La classe DateException</title> | ||
<titleabbrev>DateException</titleabbrev> | ||
|
||
<partintro> | ||
|
||
<!-- {{{ DateException intro --> | ||
<section xml:id="dateexception.intro"> | ||
&reftitle.intro; | ||
<para> | ||
Classe parente de toutes les exceptions Date/Time, pour les problèmes qui sont liés | ||
aux entrées utilisateur, ou aux arguments textuels libres qui doivent être analysés. | ||
</para> | ||
<para> | ||
Les exceptions enfants suivantes sont lancées par l'extension : | ||
<itemizedlist> | ||
<listitem><simpara><exceptionname>DateInvalidOperationException</exceptionname></simpara></listitem> | ||
<listitem><simpara><exceptionname>DateInvalidTimezoneException</exceptionname></simpara></listitem> | ||
<listitem><simpara><exceptionname>DateMalformedIntervalStringException</exceptionname></simpara></listitem> | ||
<listitem><simpara><exceptionname>DateMalformedPeriodStringException</exceptionname></simpara></listitem> | ||
<listitem><simpara><exceptionname>DateMalformedStringException</exceptionname></simpara></listitem> | ||
</itemizedlist> | ||
</para> | ||
</section> | ||
<!-- }}} --> | ||
|
||
<section xml:id="dateexception.synopsis"> | ||
&reftitle.classsynopsis; | ||
|
||
<!-- {{{ Synopsis --> | ||
<classsynopsis class="class"> | ||
<ooexception> | ||
<exceptionname>DateException</exceptionname> | ||
</ooexception> | ||
|
||
<ooclass> | ||
<modifier>extends</modifier> | ||
<classname>Exception</classname> | ||
</ooclass> | ||
|
||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))"> | ||
<xi:fallback/> | ||
</xi:include> | ||
|
||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
</classsynopsis> | ||
<!-- }}} --> | ||
|
||
</section> | ||
|
||
</partintro> | ||
|
||
</phpdoc:exceptionref> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 696b6b9e32d8d4ef4cfd874caf677a47a6cbadb4 Maintainer: Fan2Shrek Status: ready --> | ||
<!-- Reviewed: yes --> | ||
<phpdoc:exceptionref xml:id="class.dateinvalidoperationexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<title>La classe DateInvalidOperationException</title> | ||
<titleabbrev>DateInvalidOperationException</titleabbrev> | ||
|
||
<partintro> | ||
|
||
<!-- {{{ DateInvalidOperationException intro --> | ||
<section xml:id="dateinvalidoperationexception.intro"> | ||
&reftitle.intro; | ||
<para> | ||
Lancée par <methodname>DateTimeImmutable::sub</methodname> et | ||
<methodname>DateTime::sub</methodname> lorsqu'une operation non supportée est | ||
tentée. | ||
</para> | ||
<para> | ||
Un exemple d'opération non supportée est l'utilisation d'un objet | ||
<classname>DateInterval</classname> représentant des spécifications de temps | ||
tel que <literal>next weekday</literal>, car aucune déclaration logique inversée ne | ||
peut être construite. | ||
</para> | ||
</section> | ||
<!-- }}} --> | ||
|
||
<section xml:id="dateinvalidoperationexception.synopsis"> | ||
&reftitle.classsynopsis; | ||
|
||
<!-- {{{ Synopsis --> | ||
<classsynopsis class="class"> | ||
<ooexception> | ||
<exceptionname>DateInvalidOperationException</exceptionname> | ||
</ooexception> | ||
|
||
<ooclass> | ||
<modifier>extends</modifier> | ||
<classname>DateException</classname> | ||
</ooclass> | ||
|
||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))"> | ||
<xi:fallback/> | ||
</xi:include> | ||
|
||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
</classsynopsis> | ||
<!-- }}} --> | ||
|
||
</section> | ||
|
||
</partintro> | ||
|
||
</phpdoc:exceptionref> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 696b6b9e32d8d4ef4cfd874caf677a47a6cbadb4 Maintainer: Fan2Shrek Status: ready --> | ||
<!-- Reviewed: yes --> | ||
<phpdoc:exceptionref xml:id="class.dateinvalidtimezoneexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<title>La classe DateInvalidTimeZoneException</title> | ||
<titleabbrev>DateInvalidTimeZoneException</titleabbrev> | ||
|
||
<partintro> | ||
|
||
<!-- {{{ DateInvalidTimeZoneException intro --> | ||
<section xml:id="dateinvalidtimezoneexception.intro"> | ||
&reftitle.intro; | ||
<para> | ||
Lancée lorsqu'une valeur incorrecte est passée à | ||
<methodname>DateTimeZone::__construct</methodname>. | ||
</para> | ||
</section> | ||
<!-- }}} --> | ||
|
||
<section xml:id="dateinvalidtimezoneexception.synopsis"> | ||
&reftitle.classsynopsis; | ||
|
||
<!-- {{{ Synopsis --> | ||
<classsynopsis class="class"> | ||
<ooexception> | ||
<exceptionname>DateInvalidTimeZoneException</exceptionname> | ||
</ooexception> | ||
|
||
<ooclass> | ||
<modifier>extends</modifier> | ||
<classname>DateException</classname> | ||
</ooclass> | ||
|
||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))"> | ||
<xi:fallback/> | ||
</xi:include> | ||
|
||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
</classsynopsis> | ||
<!-- }}} --> | ||
|
||
</section> | ||
|
||
</partintro> | ||
|
||
</phpdoc:exceptionref> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
73 changes: 73 additions & 0 deletions
73
reference/datetime/datemalformedintervalstringexception.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 696b6b9e32d8d4ef4cfd874caf677a47a6cbadb4 Maintainer: Fan2Shrek Status: ready --> | ||
<!-- Reviewed: yes --> | ||
<phpdoc:exceptionref xml:id="class.datemalformedintervalstringexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<title>La classe DateMalformedIntervalStringException</title> | ||
<titleabbrev>DateMalformedIntervalStringException</titleabbrev> | ||
|
||
<partintro> | ||
|
||
<!-- {{{ DateMalformedIntervalStringException intro --> | ||
<section xml:id="datemalformedintervalstringexception.intro"> | ||
&reftitle.intro; | ||
<para> | ||
Lancée lorsqu'un argument <parameter>duration</parameter> invalide est passé à | ||
<methodname>DateInterval::__construct</methodname>. | ||
</para> | ||
</section> | ||
<!-- }}} --> | ||
|
||
<section xml:id="datemalformedintervalstringexception.synopsis"> | ||
&reftitle.classsynopsis; | ||
|
||
<!-- {{{ Synopsis --> | ||
<classsynopsis class="class"> | ||
<ooexception> | ||
<exceptionname>DateMalformedIntervalStringException</exceptionname> | ||
</ooexception> | ||
|
||
<ooclass> | ||
<modifier>extends</modifier> | ||
<classname>DateException</classname> | ||
</ooclass> | ||
|
||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))"> | ||
<xi:fallback/> | ||
</xi:include> | ||
|
||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Exception'])"> | ||
<xi:fallback/> | ||
</xi:include> | ||
</classsynopsis> | ||
<!-- }}} --> | ||
|
||
</section> | ||
|
||
</partintro> | ||
|
||
</phpdoc:exceptionref> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
Oops, something went wrong.