Revision of help pages for code2str and str2code functions 37/13237/2
Stanislav KROTER [Tue, 26 Nov 2013 14:32:15 +0000 (20:32 +0600)]
Added russian translation of these help pages.

Change-Id: I465717c03b8a740fa7056f9d67beb1fc4c766823

scilab/modules/functions/help/en_US/code2str.xml
scilab/modules/functions/help/en_US/str2code.xml
scilab/modules/functions/help/ru_RU/code2str.xml [new file with mode: 0644]
scilab/modules/functions/help/ru_RU/str2code.xml [new file with mode: 0644]

index 4a1d80c..3375c0c 100644 (file)
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA - 
- * 
+ * Copyright (C) INRIA -
+ *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
- * are also available at    
+ * are also available at
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
@@ -19,7 +19,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
-        <synopsis>str=code2str(c)</synopsis>
+        <synopsis>str = code2str(c)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Arguments</title>
             <varlistentry>
                 <term>str</term>
                 <listitem>
-                    <para>A character string</para>
+                    <para>a character string.</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>c</term>
                 <listitem>
-                    <para>vector of character integer codes</para>
+                    <para>a vector of character integer codes.</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
     <refsection>
         <title>Description</title>
-        <para>Returns character string associated with Scilab integer codes.str is
-            such that c(i) is the Scilab integer code of part(str,i))
+        <para>
+            <code>str = code2str(c)</code> returns character string
+            associated with Scilab integer codes. <varname>str</varname>
+            is such that <literal>c(i)</literal> is the Scilab integer
+            code of <literal>part(str,i)</literal>.
         </para>
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 code2str([-28 12 18 21 10 11])
-str2code('Scilab')' 
+str2code('Scilab')'
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
@@ -60,6 +63,9 @@ str2code('Scilab')'
             <member>
                 <link linkend="ascii">ascii</link>
             </member>
+            <member>
+                <link linkend="part">part</link>
+            </member>
         </simplelist>
     </refsection>
     <refsection>
index e7c174f..3b01986 100644 (file)
@@ -1,25 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA - 
- * 
+ * Copyright (C) INRIA -
+ *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
- * are also available at    
+ * are also available at
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="str2code" xml:lang="en">
     <refnamediv>
         <refname>str2code</refname>
-        <refpurpose>return scilab integer codes associated with a character
+        <refpurpose>returns Scilab integer codes associated with a character
             string. <emphasis role="bold">This function is obsolete.</emphasis>
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
-        <synopsis>c=str2code(str)</synopsis>
+        <synopsis>c = str2code(str)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Arguments</title>
             <varlistentry>
                 <term>str</term>
                 <listitem>
-                    <para>A character string.</para>
+                    <para>a character string.</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>c</term>
                 <listitem>
-                    <para>A vector of character integer codes</para>
+                    <para>a column vector of character integer codes.</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
     <refsection>
         <title>Description</title>
-        <para>Return c such that c(i) is the scilab integer code of
-            part(str,i))
+        <para>
+            <code>c = str2code(str)</code> returns a column vector
+            <varname>c</varname> such that <literal>c(i)</literal> is the
+            Scilab integer code of <literal>part(str,i)</literal>.
         </para>
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 str2code('Scilab')'
 code2str([-28 12 18 21 10 11])
  ]]></programlisting>
@@ -60,6 +62,9 @@ code2str([-28 12 18 21 10 11])
             <member>
                 <link linkend="ascii">ascii</link>
             </member>
+            <member>
+                <link linkend="part">part</link>
+            </member>
         </simplelist>
     </refsection>
     <refsection>
diff --git a/scilab/modules/functions/help/ru_RU/code2str.xml b/scilab/modules/functions/help/ru_RU/code2str.xml
new file mode 100644 (file)
index 0000000..407b3a2
--- /dev/null
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="code2str" xml:lang="ru">
+    <refnamediv>
+        <refname>code2str</refname>
+        <refpurpose>
+            возвращает символьную строку, связанную с целочисленными
+            Scilab-кодами.
+            <emphasis role="bold">Эта функция устарела.</emphasis>
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Последовательность вызова</title>
+        <synopsis>str = code2str(c)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Аргументы</title>
+        <variablelist>
+            <varlistentry>
+                <term>str</term>
+                <listitem>
+                    <para>символьная строка.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>c</term>
+                <listitem>
+                    <para>вектор целочисленных кодов символов.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Описание</title>
+        <para>
+            <code>str = code2str(c)</code> возвращает символьную строку,
+            связанную с целочисленными Scilab-кодами.
+            <varname>str</varname> такая, что <literal>c(i)</literal>
+            является целочисленным Scilab-кодом символа
+            <literal>part(str,i)</literal>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Примеры</title>
+        <programlisting role="example"><![CDATA[
+code2str([-28 12 18 21 10 11])
+str2code('Scilab')'
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Смотрите также</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="str2code">str2code</link>
+            </member>
+            <member>
+                <link linkend="ascii">ascii</link>
+            </member>
+            <member>
+                <link linkend="part">part</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.0</revnumber>
+                <revremark>This function will be removed in Scilab 6.0.0</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/functions/help/ru_RU/str2code.xml b/scilab/modules/functions/help/ru_RU/str2code.xml
new file mode 100644 (file)
index 0000000..6f5306b
--- /dev/null
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="str2code" xml:lang="ru">
+    <refnamediv>
+        <refname>str2code</refname>
+        <refpurpose>
+            возвращает целочисленные Scilab-коды, связанные с символьной строкой.
+            <emphasis role="bold">Эта функция устарела.</emphasis>
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Последовательность вызова</title>
+        <synopsis>c = str2code(str)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Аргументы</title>
+        <variablelist>
+            <varlistentry>
+                <term>str</term>
+                <listitem>
+                    <para>символьная строка.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>c</term>
+                <listitem>
+                    <para>
+                        вектор-столбец целочисленных кодов символов.
+                    </para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Описание</title>
+        <para>
+            <code>c = str2code(str)</code> возвращает такой вектор-
+            столбец <varname>c</varname>, что <literal>c(i)</literal>
+            является целочисленным Scilab-кодом символа
+            <literal>part(str,i)</literal>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Примеры</title>
+        <programlisting role="example"><![CDATA[
+str2code('Scilab')'
+code2str([-28 12 18 21 10 11])
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Смотрите также</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="code2str">code2str</link>
+            </member>
+            <member>
+                <link linkend="ascii">ascii</link>
+            </member>
+            <member>
+                <link linkend="part">part</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.0</revnumber>
+                <revremark>This function will be removed in Scilab 6.0.0</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>