Skip to content

Commit 008534f

Browse files
committed
[RU] Translate ext/uri extension documentation
Add Russian translations for the entire ext/uri extension: - Uri\Rfc3986\Uri class and all methods - Uri\WhatWg\Url class and all methods - Uri\UriComparisonMode enum - Exception classes (UriException, UriError, InvalidUriException, InvalidUrlException) - Uri\WhatWg\UrlValidationError and UrlValidationErrorType - Add uri entity snippets to language-snippets.ent
1 parent 1aa3cc6 commit 008534f

Some content is hidden

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

72 files changed

+6130
-0
lines changed

language-snippets.ent

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5452,6 +5452,18 @@ xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция была
54525452
<link linkend="context.ssl.verify-peer-name"><parameter>verify_peer_name</parameter></link> в &false;.
54535453
</para>
54545454
'>
5455+
5456+
<!ENTITY uri.errors.invalidUriException '
5457+
<simpara>
5458+
Если результирующий URI недопустим, выбрасывается исключение <exceptionname>Uri\InvalidUriException</exceptionname>.
5459+
</simpara>
5460+
'>
5461+
5462+
<!ENTITY uri.errors.invalidUrlException '
5463+
<simpara>
5464+
Если результирующий URL недопустим, выбрасывается исключение <exceptionname>Uri\WhatWg\InvalidUrlException</exceptionname>.
5465+
</simpara>
5466+
'>
54555467
<!-- Keep this comment at the end of the file
54565468
Local variables:
54575469
mode: sgml

reference/uri/book.xml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 4f62b60b56562114d9d816e2e5f13b40a5614c26 Maintainer: lacatoire Status: ready -->
3+
<book xml:id="book.uri" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="interactive">
4+
<?phpdoc extension-membership="core" ?>
5+
<title>URI</title>
6+
<titleabbrev>URI</titleabbrev>
7+
8+
<preface xml:id="intro.uri">
9+
&reftitle.intro;
10+
<simpara>
11+
В этой главе описаны функции для работы с
12+
унифицированными идентификаторами ресурсов (URI). URI — это строка символов,
13+
которая используется для идентификации ресурса. URI используются в веб-технологиях
14+
для идентификации ресурсов в Интернете.
15+
</simpara>
16+
<simpara>
17+
Модуль реализует функциональность, которая следует спецификациям
18+
<link xlink:href="&url.url.rfc3986;">RFC 3986,
19+
Uniform Resource Identifier (URI): Generic Syntax</link> и
20+
<link xlink:href="&url.url.whatwg-url;">WHATWG URL Standard</link>.
21+
</simpara>
22+
</preface>
23+
24+
&reference.uri.uri.rfc3986.uri;
25+
26+
&reference.uri.uri.whatwg.url;
27+
28+
&reference.uri.uri.uricomparisonmode;
29+
30+
&reference.uri.uri.uriexception;
31+
&reference.uri.uri.urierror;
32+
&reference.uri.uri.invaliduriexception;
33+
&reference.uri.uri.whatwg.invalidurlexception;
34+
&reference.uri.uri.whatwg.urlvalidationerror;
35+
&reference.uri.uri.whatwg.urlvalidationerrortype;
36+
</book>
37+
<!-- Keep this comment at the end of the file
38+
Local variables:
39+
mode: sgml
40+
sgml-omittag:t
41+
sgml-shorttag:t
42+
sgml-minimize-attributes:nil
43+
sgml-always-quote-attributes:t
44+
sgml-indent-step:1
45+
sgml-indent-data:t
46+
indent-tabs-mode:nil
47+
sgml-parent-document:nil
48+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
49+
sgml-exposed-tags:nil
50+
sgml-local-catalogs:nil
51+
sgml-local-ecat-files:nil
52+
End:
53+
vim600: syn=xml fen fdm=syntax fdl=2 si
54+
vim: et tw=78 syn=sgml
55+
vi: ts=1 sw=1
56+
-->
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 8a341f6c434f352133a6ac7eb5a7d90208604d84 Maintainer: lacatoire Status: ready -->
3+
<reference xml:id="class.uri-invaliduriexception" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
4+
<title>Класс Uri\InvalidUriException</title>
5+
<titleabbrev>Uri\InvalidUriException</titleabbrev>
6+
7+
<partintro>
8+
<section xml:id="uri-invaliduriexception.intro">
9+
&reftitle.intro;
10+
<simpara>
11+
Указывает на то, что данный URI недействителен или что операция приведёт к недействительному URI.
12+
</simpara>
13+
</section>
14+
15+
<section xml:id="uri-invaliduriexception.synopsis">
16+
&reftitle.classsynopsis;
17+
18+
<packagesynopsis>
19+
<package>Uri</package>
20+
21+
<classsynopsis class="class">
22+
<ooexception>
23+
<exceptionname>InvalidUriException</exceptionname>
24+
</ooexception>
25+
26+
<ooclass>
27+
<modifier>extends</modifier>
28+
<classname>Uri\UriException</classname>
29+
</ooclass>
30+
31+
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
32+
<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;']]))">
33+
<xi:fallback/>
34+
</xi:include>
35+
36+
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
37+
<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'])">
38+
<xi:fallback/>
39+
</xi:include>
40+
<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'])">
41+
<xi:fallback/>
42+
</xi:include>
43+
</classsynopsis>
44+
</packagesynopsis>
45+
</section>
46+
</partintro>
47+
</reference>
48+
<!-- Keep this comment at the end of the file
49+
Local variables:
50+
mode: sgml
51+
sgml-omittag:t
52+
sgml-shorttag:t
53+
sgml-minimize-attributes:nil
54+
sgml-always-quote-attributes:t
55+
sgml-indent-step:1
56+
sgml-indent-data:t
57+
indent-tabs-mode:nil
58+
sgml-parent-document:nil
59+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
60+
sgml-exposed-tags:nil
61+
sgml-local-catalogs:nil
62+
sgml-local-ecat-files:nil
63+
End:
64+
vim600: syn=xml fen fdm=syntax fdl=2 si
65+
vim: et tw=78 syn=sgml
66+
vi: ts=1 sw=1
67+
-->

reference/uri/uri.rfc3986.uri.xml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: e4aca6ce959c13feaaf1a1c880defd94cb2d8b06 Maintainer: lacatoire Status: ready -->
3+
<reference xml:id="class.uri-rfc3986-uri" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
4+
<title>Класс Uri\Rfc3986\Uri</title>
5+
<titleabbrev>Uri\Rfc3986\Uri</titleabbrev>
6+
7+
<partintro>
8+
<section xml:id="uri-rfc3986-uri.intro">
9+
&reftitle.intro;
10+
<simpara>
11+
</simpara>
12+
</section>
13+
14+
<section xml:id="uri-rfc3986-uri.synopsis">
15+
&reftitle.classsynopsis;
16+
17+
<packagesynopsis>
18+
<package>Uri\Rfc3986</package>
19+
20+
<classsynopsis class="class">
21+
<ooclass>
22+
<modifier>final</modifier>
23+
<modifier>readonly</modifier>
24+
<classname>Uri</classname>
25+
</ooclass>
26+
27+
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
28+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.uri-rfc3986-uri')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Uri\\Rfc3986\\Uri'])">
29+
<xi:fallback/>
30+
</xi:include>
31+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.uri-rfc3986-uri')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Uri\\Rfc3986\\Uri'])">
32+
<xi:fallback/>
33+
</xi:include>
34+
</classsynopsis>
35+
</packagesynopsis>
36+
</section>
37+
</partintro>
38+
39+
&reference.uri.uri.rfc3986.entities.uri;
40+
41+
</reference>
42+
<!-- Keep this comment at the end of the file
43+
Local variables:
44+
mode: sgml
45+
sgml-omittag:t
46+
sgml-shorttag:t
47+
sgml-minimize-attributes:nil
48+
sgml-always-quote-attributes:t
49+
sgml-indent-step:1
50+
sgml-indent-data:t
51+
indent-tabs-mode:nil
52+
sgml-parent-document:nil
53+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
54+
sgml-exposed-tags:nil
55+
sgml-local-catalogs:nil
56+
sgml-local-ecat-files:nil
57+
End:
58+
vim600: syn=xml fen fdm=syntax fdl=2 si
59+
vim: et tw=78 syn=sgml
60+
vi: ts=1 sw=1
61+
-->
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 330903cf6a567b885d24d0a468960d1e3b9ae213 Maintainer: lacatoire Status: ready -->
3+
<reference xml:id="enum.uri-uricomparisonmode" role="enum" xmlns="http://docbook.org/ns/docbook">
4+
<title>Перечисление Uri\UriComparisonMode</title>
5+
<titleabbrev>Uri\UriComparisonMode</titleabbrev>
6+
7+
<partintro>
8+
<section xml:id="enum.uri-uricomparisonmode.intro">
9+
&reftitle.intro;
10+
<simpara>
11+
</simpara>
12+
</section>
13+
14+
<section xml:id="enum.uri-uricomparisonmode.synopsis">
15+
&reftitle.enumsynopsis;
16+
17+
<packagesynopsis>
18+
<package>Uri</package>
19+
20+
<enumsynopsis>
21+
<enumname>UriComparisonMode</enumname>
22+
23+
<enumitem>
24+
<enumidentifier>IncludeFragment</enumidentifier>
25+
<enumitemdescription>Компонент <literal>fragment</literal> включается в сравнение.</enumitemdescription>
26+
</enumitem>
27+
28+
<enumitem>
29+
<enumidentifier>ExcludeFragment</enumidentifier>
30+
<enumitemdescription>Компонент <literal>fragment</literal> исключается из сравнения.</enumitemdescription>
31+
</enumitem>
32+
</enumsynopsis>
33+
</packagesynopsis>
34+
</section>
35+
</partintro>
36+
</reference>
37+
<!-- Keep this comment at the end of the file
38+
Local variables:
39+
mode: sgml
40+
sgml-omittag:t
41+
sgml-shorttag:t
42+
sgml-minimize-attributes:nil
43+
sgml-always-quote-attributes:t
44+
sgml-indent-step:1
45+
sgml-indent-data:t
46+
indent-tabs-mode:nil
47+
sgml-parent-document:nil
48+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
49+
sgml-exposed-tags:nil
50+
sgml-local-catalogs:nil
51+
sgml-local-ecat-files:nil
52+
End:
53+
vim600: syn=xml fen fdm=syntax fdl=2 si
54+
vim: et tw=78 syn=sgml
55+
vi: ts=1 sw=1
56+
-->

reference/uri/uri.urierror.xml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 8a341f6c434f352133a6ac7eb5a7d90208604d84 Maintainer: lacatoire Status: ready -->
3+
<reference xml:id="class.uri-urierror" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
4+
<title>Класс Uri\UriError</title>
5+
<titleabbrev>Uri\UriError</titleabbrev>
6+
7+
<partintro>
8+
<section xml:id="uri-urierror.intro">
9+
&reftitle.intro;
10+
<simpara>
11+
Базовый класс для ошибок (<type>Error</type>), возникающих при обработке URI.
12+
</simpara>
13+
</section>
14+
15+
<section xml:id="uri-urierror.synopsis">
16+
&reftitle.classsynopsis;
17+
18+
<packagesynopsis>
19+
<package>Uri</package>
20+
21+
<classsynopsis class="class">
22+
<ooexception>
23+
<exceptionname>UriError</exceptionname>
24+
</ooexception>
25+
26+
<ooclass>
27+
<modifier>extends</modifier>
28+
<classname>Error</classname>
29+
</ooclass>
30+
31+
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
32+
<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;']]))">
33+
<xi:fallback/>
34+
</xi:include>
35+
36+
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
37+
<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'])">
38+
<xi:fallback/>
39+
</xi:include>
40+
<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'])">
41+
<xi:fallback/>
42+
</xi:include>
43+
</classsynopsis>
44+
</packagesynopsis>
45+
</section>
46+
</partintro>
47+
</reference>
48+
<!-- Keep this comment at the end of the file
49+
Local variables:
50+
mode: sgml
51+
sgml-omittag:t
52+
sgml-shorttag:t
53+
sgml-minimize-attributes:nil
54+
sgml-always-quote-attributes:t
55+
sgml-indent-step:1
56+
sgml-indent-data:t
57+
indent-tabs-mode:nil
58+
sgml-parent-document:nil
59+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
60+
sgml-exposed-tags:nil
61+
sgml-local-catalogs:nil
62+
sgml-local-ecat-files:nil
63+
End:
64+
vim600: syn=xml fen fdm=syntax fdl=2 si
65+
vim: et tw=78 syn=sgml
66+
vi: ts=1 sw=1
67+
-->

reference/uri/uri.uriexception.xml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 8a341f6c434f352133a6ac7eb5a7d90208604d84 Maintainer: lacatoire Status: ready -->
3+
<reference xml:id="class.uri-uriexception" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
4+
<title>Класс Uri\UriException</title>
5+
<titleabbrev>Uri\UriException</titleabbrev>
6+
7+
<partintro>
8+
<section xml:id="uri-uriexception.intro">
9+
&reftitle.intro;
10+
<simpara>
11+
Базовый класс для исключений (<type>Exception</type>), возникающих при обработке URI.
12+
</simpara>
13+
</section>
14+
15+
<section xml:id="uri-uriexception.synopsis">
16+
&reftitle.classsynopsis;
17+
18+
<packagesynopsis>
19+
<package>Uri</package>
20+
21+
<classsynopsis class="class">
22+
<ooexception>
23+
<exceptionname>UriException</exceptionname>
24+
</ooexception>
25+
26+
<ooclass>
27+
<modifier>extends</modifier>
28+
<classname>Exception</classname>
29+
</ooclass>
30+
31+
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
32+
<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;']]))">
33+
<xi:fallback/>
34+
</xi:include>
35+
36+
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
37+
<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'])">
38+
<xi:fallback/>
39+
</xi:include>
40+
<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'])">
41+
<xi:fallback/>
42+
</xi:include>
43+
</classsynopsis>
44+
</packagesynopsis>
45+
</section>
46+
</partintro>
47+
</reference>
48+
<!-- Keep this comment at the end of the file
49+
Local variables:
50+
mode: sgml
51+
sgml-omittag:t
52+
sgml-shorttag:t
53+
sgml-minimize-attributes:nil
54+
sgml-always-quote-attributes:t
55+
sgml-indent-step:1
56+
sgml-indent-data:t
57+
indent-tabs-mode:nil
58+
sgml-parent-document:nil
59+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
60+
sgml-exposed-tags:nil
61+
sgml-local-catalogs:nil
62+
sgml-local-ecat-files:nil
63+
End:
64+
vim600: syn=xml fen fdm=syntax fdl=2 si
65+
vim: et tw=78 syn=sgml
66+
vi: ts=1 sw=1
67+
-->

0 commit comments

Comments
 (0)