Revision of help page for fun2string function 89/13289/1
Stanislav KROTER [Sat, 30 Nov 2013 09:29:05 +0000 (15:29 +0600)]
Added russian translation of this page.

Change-Id: I0311fbc6413b773bea5951c28fcbb50e2851b46b

scilab/modules/functions/help/en_US/fun2string.xml
scilab/modules/functions/help/ja_JP/fun2string.xml
scilab/modules/functions/help/pt_BR/fun2string.xml
scilab/modules/functions/help/ru_RU/fun2string.xml [new file with mode: 0644]

index 92cff39..18b8689 100644 (file)
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="fun2string">
     <refnamediv>
         <refname>fun2string</refname>
-        <refpurpose>generates ascii definition of a scilab function</refpurpose>
+        <refpurpose>generates ASCII definition of a Scilab function</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
-        <synopsis>txt=fun2string(fun,name)</synopsis>
+        <synopsis>txt = fun2string(fun, name)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Arguments</title>
             <varlistentry>
                 <term>fun</term>
                 <listitem>
-                    <para>a function type variable</para>
+                    <para>
+                        a <literal>function</literal> type variable.
+                    </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>name</term>
                 <listitem>
-                    <para>a character string, the generated function name</para>
+                    <para>a character string, the generated function name.</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>txt</term>
                 <listitem>
-                    <para>a column vector of strings, the text giving the scilab instructions</para>
+                    <para>a column vector of strings, the text giving the Scilab instructions.</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     <refsection>
         <title>Description</title>
         <para>
-            Given a loaded Scilab function pseudo-code fun2string allows to
+            Given a loaded Scilab function pseudo-code <function>fun2string</function> allows to
             re-generate the code. The generated
             code is indented and beautified.
         </para>
         <para>
-            The mechanism is similar, but simpler than the mfile2sci one. It may
+            The mechanism is similar, but simpler than the <function>mfile2sci</function> one. It may
             be adapted for syntax translations.
         </para>
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-txt=fun2string(asinh,'foo');
+        <programlisting role="example"><![CDATA[
+txt = fun2string(asinh,'foo');
 write(%io(2),txt,'(a)')
  ]]></programlisting>
     </refsection>
index 393f8b7..c6c157b 100644 (file)
@@ -17,7 +17,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>呼び出し手順</title>
-        <synopsis>txt=fun2string(fun,name)</synopsis>
+        <synopsis>txt = fun2string(fun, name)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>パラメータ</title>
@@ -37,7 +37,7 @@
             <varlistentry>
                 <term>txt</term>
                 <listitem>
-                    <para>文字列の列ベクトル, scilab関数を指定するテキスト</para>
+                    <para>文字列の列ベクトル, Scilab関数を指定するテキスト</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     <refsection>
         <title>説明</title>
         <para>
-            ロード済みのScilab関数の擬似コードを指定すると,fun2string により,
+            ロード済みのScilab関数の擬似コードを指定すると,<function>fun2string</function> により,
             そのコードを再度生成することができます.
             生成したコードはインデントされ, 整形されます.
         </para>
         <para>
-            仕組みはmfile2sciに似ていますが, より簡単です.
+            仕組みは<function>mfile2sci</function>に似ていますが, より簡単です.
             構文の変換に使用することも可能です.
         </para>
     </refsection>
     <refsection>
         <title>例</title>
-        <programlisting role="example"><![CDATA[ 
-txt=fun2string(asinh,'foo');
+        <programlisting role="example"><![CDATA[
+txt = fun2string(asinh,'foo');
 write(%io(2),txt,'(a)')
  ]]></programlisting>
     </refsection>
index f6985ea..ce9403d 100644 (file)
  * 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="fun2string" xml:lang="en">
+<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="fun2string" xml:lang="pt">
     <refnamediv>
         <refname>fun2string</refname>
         <refpurpose>gera definição ASCII de uma função Scilab</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Seqüência de Chamamento</title>
-        <synopsis>txt=fun2string(fun,name)</synopsis>
+        <synopsis>txt = fun2string(fun, name)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Parâmetros</title>
     </refsection>
     <refsection>
         <title>Descrição</title>
-        <para>Dado um pseudo-código de função Scilab carregada fun2string permite
+        <para>
+            Dado um pseudo-código de função Scilab carregada <function>fun2string</function> permite
             gerar novamente o código. O código gerado é identado e embelezado.
         </para>
-        <para>O mecanismo é similar, mas mais simples que o de mfile2sci. Também
+        <para>
+            O mecanismo é similar, mas mais simples que o de <function>mfile2sci</function>. Também
             pode ser adaptado para traduções de sintaxe.
         </para>
     </refsection>
     <refsection>
         <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
-txt=fun2string(asinh,'foo');
+        <programlisting role="example"><![CDATA[
+txt = fun2string(asinh,'foo');
 write(%io(2),txt,'(a)')
  ]]></programlisting>
     </refsection>
diff --git a/scilab/modules/functions/help/ru_RU/fun2string.xml b/scilab/modules/functions/help/ru_RU/fun2string.xml
new file mode 100644 (file)
index 0000000..2069f20
--- /dev/null
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) ????-2008 - 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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="fun2string">
+    <refnamediv>
+        <refname>fun2string</refname>
+        <refpurpose>
+            формирует ASCII-определение Scilab-функции
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Последовательность вызова</title>
+        <synopsis>txt = fun2string(fun, name)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Аргументы</title>
+        <variablelist>
+            <varlistentry>
+                <term>fun</term>
+                <listitem>
+                    <para>
+                        переменная типа <literal>function</literal>.
+                    </para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>name</term>
+                <listitem>
+                    <para>
+                        символьная строка, имя формируемой функции.
+                    </para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>txt</term>
+                <listitem>
+                    <para>
+                        вектор-столбец строковых значений, текст, указывающий Scilab-инструкции.
+                    </para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Описание</title>
+        <para>
+            Функция <function>fun2string</function> позволяет
+            воспроизвести код псевдокода указанной загруженной функции.
+            Сформированный код имеет отступы и красивый вид.
+        </para>
+        <para>
+            Механизм схож с механизмом <function>mfile2sci</function>, но
+            проще. Он может применяться для переводов синтаксиса.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Примеры</title>
+        <programlisting role="example"><![CDATA[
+txt = fun2string(asinh,'foo');
+write(%io(2),txt,'(a)')
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Смотрите также</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="exec">exec</link>
+            </member>
+            <member>
+                <link linkend="edit">edit</link>
+            </member>
+            <member>
+                <link linkend="macrovar">macrovar</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>