svn: /phpdoc/ru/trunk/reference/fileinfo/functions/ finfo-buffer.xml finfo-file.xml finfo-open.xml finfo-set-flags.xml
| From: | Alexander Moskaliov | Date: | Sun, 04 Jan 2015 17:38:55 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/fileinfo/functions/ finfo-buffer.xml finfo-file.xml finfo-open.xml finfo-set-flags.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-4856@lists.php.net to get a copy of this message | ||
irker Sun, 04 Jan 2015 17:38:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=335626
Log:
Update translation
Changed paths:
U phpdoc/ru/trunk/reference/fileinfo/functions/finfo-buffer.xml
U phpdoc/ru/trunk/reference/fileinfo/functions/finfo-file.xml
U phpdoc/ru/trunk/reference/fileinfo/functions/finfo-open.xml
U phpdoc/ru/trunk/reference/fileinfo/functions/finfo-set-flags.xml
Modified: phpdoc/ru/trunk/reference/fileinfo/functions/finfo-buffer.xml
===================================================================
--- phpdoc/ru/trunk/reference/fileinfo/functions/finfo-buffer.xml 2015-01-04 17:29:27 UTC (rev
335625)
+++ phpdoc/ru/trunk/reference/fileinfo/functions/finfo-buffer.xml 2015-01-04 17:38:55 UTC (rev
335626)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 322205 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
@@ -21,7 +21,7 @@
</methodsynopsis>
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <type>string</type><methodname>finfo::buffer</methodname>
+ <modifier>public</modifier>
<type>string</type><methodname>finfo::buffer</methodname>
<methodparam><type>string</type><parameter>string</parameter><initializer>&null;</initializer></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam>
<methodparam
choice="opt"><type>resource</type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
Modified: phpdoc/ru/trunk/reference/fileinfo/functions/finfo-file.xml
===================================================================
--- phpdoc/ru/trunk/reference/fileinfo/functions/finfo-file.xml 2015-01-04 17:29:27 UTC (rev 335625)
+++ phpdoc/ru/trunk/reference/fileinfo/functions/finfo-file.xml 2015-01-04 17:38:55 UTC (rev 335626)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 322205 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
@@ -21,7 +21,7 @@
</methodsynopsis>
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <type>string</type><methodname>finfo::file</methodname>
+ <modifier>public</modifier>
<type>string</type><methodname>finfo::file</methodname>
<methodparam><type>string</type><parameter>file_name</parameter><initializer>&null;</initializer></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam>
<methodparam
choice="opt"><type>resource</type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
Modified: phpdoc/ru/trunk/reference/fileinfo/functions/finfo-open.xml
===================================================================
--- phpdoc/ru/trunk/reference/fileinfo/functions/finfo-open.xml 2015-01-04 17:29:27 UTC (rev 335625)
+++ phpdoc/ru/trunk/reference/fileinfo/functions/finfo-open.xml 2015-01-04 17:38:55 UTC (rev 335626)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 325547 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<!-- $Revision$ -->
<refentry xml:id="function.finfo-open" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
- <para>&style.procedural;</para>
+ <para>Процедурный стиль</para>
<methodsynopsis role="procedural">
<type>resource</type><methodname>finfo_open</methodname>
<methodparam
choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam>
@@ -19,7 +19,7 @@
</methodsynopsis>
<para>&style.oop; (constructor):</para>
<constructorsynopsis>
- <methodname>finfo::__construct</methodname>
+ <modifier>public</modifier> <methodname>finfo::__construct</methodname>
<methodparam
choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>magic_file</parameter><initializer>&null;</initializer></methodparam>
</constructorsynopsis>
@@ -48,11 +48,10 @@
Имя файла магической базы данных, обычно что-то
наподобие этого:
<filename>/path/to/magic.mime</filename>.
Если не указан полный путь, будет использована
переменная окружения <literal>MAGIC</literal>.
- Если эта переменная не указана, будет использован
путь по умолчанию <filename>/usr/share/misc/magic</filename>.
- При необходимости добавляется суффикс
<literal>.mime</literal> и/или <literal>.mgc</literal>.
+ Если переменная окружения не указана, то будет
использоваться встроенная в PHP магическая база данных.
</para>
<para>
- Передача NULL или пустой строки эквивалентно
значению по умолчанию.
+ Передача &null; или пустой строки эквивалентно
значению по умолчанию.
</para>
</listitem>
</varlistentry>
@@ -68,7 +67,7 @@
</para>
</refsect1>
- <refsect1 role="notes">
+ <refsect1 role="notes">
&reftitle.notes;
<warning>
<para>
@@ -81,6 +80,13 @@
например, для PHP будет возвражено "PHP script, ASCII text"
вместо "PHP script text".
</para>
</warning>
+ <note>
+ <para>
+ Обычно использование встроенной магической базы
данных (при
+ неустановленных <parameter>magic_file</parameter> и
<literal>MAGIC</literal>)
+ лучший выбор, если вам не нужна определенная версия
магической базы данных.
+ </para>
+ </note>
</refsect1>
<refsect1 role="examples">
Modified: phpdoc/ru/trunk/reference/fileinfo/functions/finfo-set-flags.xml
===================================================================
--- phpdoc/ru/trunk/reference/fileinfo/functions/finfo-set-flags.xml 2015-01-04 17:29:27 UTC (rev
335625)
+++ phpdoc/ru/trunk/reference/fileinfo/functions/finfo-set-flags.xml 2015-01-04 17:38:55 UTC (rev
335626)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 322205 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
@@ -19,7 +19,7 @@
</methodsynopsis>
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <type>bool</type><methodname>finfo::set_flags</methodname>
+ <modifier>public</modifier>
<type>bool</type><methodname>finfo::set_flags</methodname>
<methodparam><type>int</type><parameter>options</parameter></methodparam>
</methodsynopsis>