Revision of help page for macrovar function 96/13296/2
Stanislav KROTER [Sun, 1 Dec 2013 08:55:56 +0000 (14:55 +0600)]
Added russian translation of this page.

Change-Id: I76c7d53af13d5335f293b73b894b1cdf461e1316

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

index 6db5f26..aed52e4 100644 (file)
                 <term>vars</term>
                 <listitem>
                     <para>
-                        list,  <literal>list(in, out, nolocal, called, locals)</literal>
+                        a list,  <literal>list(in, out, nolocal, called, locals)</literal>.
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>function</term>
                 <listitem>
-                    <para>name of a function</para>
+                    <para>a name of a function.</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>Description</title>
         <para>
             Returns in a list the set of variables used by a function.
-            <literal>vars</literal> is a list made of five column vectors of character strings:
+            <varname>vars</varname> is a list made of five column vectors of character strings:
         </para>
         <simplelist type="inline">
             <member>
-                <literal>in</literal>: input variables (<literal>vars(1)</literal>)
+                <varname>in</varname>: input variables (<code>vars(1)</code>);
             </member>
             <member>
-                <literal>out</literal>: output variables (<literal>vars(2)</literal>)
+                <varname>out</varname>: output variables (<code>vars(2)</code>);
             </member>
             <member>
-                <literal>nolocal</literal>: referenced variables which are not defined inside the function and which are not functions (<literal>vars(3)</literal>)
+                <varname>nolocal</varname>: referenced variables which are not defined inside the function and which are not functions (<code>vars(3)</code>);
             </member>
             <member>
-                <literal>called</literal>: names of functions called (<literal>vars(4)</literal>)
+                <varname>called</varname>: names of functions called (<code>vars(4)</code>);
             </member>
             <member>
-                <literal>locals</literal>: local variables (<literal>vars(5)</literal>)
+                <varname>locals</varname>: local variables (<code>vars(5)</code>);
             </member>
         </simplelist>
     </refsection>
index b781432..66eab77 100644 (file)
                 <term>vars</term>
                 <listitem>
                     <para>
-                        liste,  <literal>list(in, out, nolocal, called, locals)</literal>
+                        liste,  <literal>list(in, out, nolocal, called, locals)</literal>.
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>fonction</term>
                 <listitem>
-                    <para>nom de la fonction</para>
+                    <para>nom de la fonction.</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>Description</title>
         <para>
             Retourne dans une liste l'ensemble des variables utilisées par une fonction.
-            <literal>vars</literal> est une liste de cinq vecteurs colonnes de chaînes de caractères:
+            <varname>vars</varname> est une liste de cinq vecteurs colonnes de chaînes de caractères:
         </para>
         <simplelist type="inline">
             <member>
-                <literal>in</literal>: paramètres d'entrée (<literal>vars(1)</literal>)
+                <varname>in</varname>: paramètres d'entrée (<code>vars(1)</code>);
             </member>
             <member>
-                <literal>out</literal>: paramètres de sortie (<literal>vars(2)</literal>)
+                <varname>out</varname>: paramètres de sortie (<code>vars(2)</code>);
             </member>
             <member>
-                <literal>nolocal</literal>: variables référencées qui ne sont pas définies dans la fonction et qui ne sont pas des fonctions (<literal>vars(3)</literal>)
+                <varname>nolocal</varname>: variables référencées qui ne sont pas définies dans la fonction et qui ne sont pas des fonctions (<code>vars(3)</code>);
             </member>
             <member>
-                <literal>called</literal>: noms des fonctions appelées (<literal>vars(4)</literal>)
+                <varname>called</varname>: noms des fonctions appelées (<code>vars(4)</code>);
             </member>
             <member>
-                <literal>locals</literal>: variables locales (<literal>vars(5)</literal>)
+                <varname>locals</varname>: variables locales (<code>vars(5)</code>).
             </member>
         </simplelist>
     </refsection>
index 3d3c26a..d7e10be 100644 (file)
@@ -17,7 +17,7 @@
     </refnamediv>
     <refsynopsisdiv>
         <title>呼び出し手順</title>
-        <synopsis>vars=macrovar(function)</synopsis>
+        <synopsis>vars = macrovar(function)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>パラメータ</title>
                 <term>vars</term>
                 <listitem>
                     <para>
-                        リスト  <literal>list(in,out,nolocal,called,locals)</literal>
+                        リスト  <literal>list(in,out,nolocal,called,locals)</literal>.
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>function</term>
                 <listitem>
-                    <para>関数名</para>
+                    <para>関数名.</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>説明</title>
         <para>
             関数で使用される変数の集合のリストを返します.
-            <literal>vars</literal> は5つの文字列の列ベクトルからなる
-            リストです.
-        </para>
-        <para>
-            <literal>in</literal> 入力変数 (<literal>vars(1)</literal>)
-        </para>
-        <para>
-            <literal>out</literal> 出力変数 (<literal>vars(2)</literal>)
-        </para>
-        <para>
-            <literal>nolocal</literal>referenced variables which 
-            関数内で定義されていない関数でない変数を参照 
-            (<literal>vars(3)</literal>)
-        </para>
-        <para>
-            <literal>called</literal> コールされた関数の名前 (<literal>vars(4)</literal>)
-        </para>
-        <para>
-            <literal>locals</literal> ローカル変数 (<literal>vars(5)</literal>)
+            <varname>vars</varname> は5つの文字列の列ベクトルからなる
+            リストです:
         </para>
+        <simplelist type="inline">
+            <member>
+                <varname>in</varname> 入力変数 (<code>vars(1)</code>);
+            </member>
+            <member>
+                <varname>out</varname>: 出力変数 (<code>vars(2)</code>);
+            </member>
+            <member>
+                <varname>nolocal</varname>:
+                関数内で定義されていない関数でない変数を参照
+                (<code>vars(3)</code>);
+            </member>
+            <member>
+                <varname>called</varname>: コールされた関数の名前 (<code>vars(4)</code>);
+            </member>
+            <member>
+                <varname>locals</varname>: ローカル変数 (<code>vars(5)</code>).
+            </member>
+        </simplelist>
     </refsection>
     <refsection>
         <title>例</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc')
 vars=macrovar(f)
  ]]></programlisting>
index d832111..6cecf8c 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:ns4="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="macrovar" 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:ns4="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="macrovar" xml:lang="pt">
     <refnamediv>
         <refname>macrovar</refname>
         <refpurpose>variáveis de uma função</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Seqüência de Chamamento</title>
-        <synopsis>vars=macrovar(function)</synopsis>
+        <synopsis>vars = macrovar(function)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Parâmetros</title>
     <refsection>
         <title>Descrição</title>
         <para>Retorna em uma lista o conjunto de variáveis utilizadas por uma
-            função. <literal>vars</literal> é uma lista feita de cinco vetores colunas
-            de strings
-        </para>
-        <para>
-            <literal>in</literal> variáveis de entrada
-            (<literal>vars(1)</literal>)
-        </para>
-        <para>
-            <literal>out</literal> variáveis de saída
-            (<literal>vars(2)</literal>)
-        </para>
-        <para>
-            <literal>globals</literal> variáveis globais
-            (<literal>vars(3)</literal>)
-        </para>
-        <para>
-            <literal>called</literal> nomes de funções chamadas
-            (<literal>vars(4)</literal>)
-        </para>
-        <para>
-            <literal>locals</literal> variáveis locais
-            (<literal>vars(5)</literal>)
+            função. <varname>vars</varname> é uma lista feita de cinco vetores colunas
+            de strings:
         </para>
+        <simplelist type="inline">
+            <member>
+                <varname>in</varname>: variáveis de entrada
+                (<code>vars(1)</code>);
+            </member>
+            <member>
+                <varname>out</varname>: variáveis de saída
+                (<code>vars(2)</code>);
+            </member>
+            <member>
+                <varname>globals</varname>: variáveis globais
+                (<code>vars(3)</code>);
+            </member>
+            <member>
+                <varname>called</varname>: nomes de funções chamadas
+                (<code>vars(4)</code>);
+            </member>
+            <member>
+                <varname>locals</varname>: variáveis locais
+                (<code>vars(5)</code>).
+            </member>
+        </simplelist>
     </refsection>
     <refsection>
         <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 deff('y=f(x1,x2)','loc=1;y=a*x1+x2-loc')
 vars=macrovar(f)
  ]]></programlisting>
diff --git a/scilab/modules/functions/help/ru_RU/macrovar.xml b/scilab/modules/functions/help/ru_RU/macrovar.xml
new file mode 100644 (file)
index 0000000..d1b9c7d
--- /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) ????-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="macrovar">
+    <refnamediv>
+        <refname>macrovar</refname>
+        <refpurpose>переменные в функции</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Последовательность вызова</title>
+        <synopsis>vars = macrovar(function)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Аргументы</title>
+        <variablelist>
+            <varlistentry>
+                <term>vars</term>
+                <listitem>
+                    <para>
+                        список,  <literal>list(in, out, nolocal, called, locals)</literal>.
+                    </para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>function</term>
+                <listitem>
+                    <para>имя функции.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Описание</title>
+        <para>
+            Возвращает в списке набор переменных, используемых функцией.
+            <varname>vars</varname> - это список, сделанный из пяти вектор-столбцов символьных строк:
+        </para>
+        <simplelist type="inline">
+            <member>
+                <varname>in</varname>: входные переменные (<code>vars(1)</code>);
+            </member>
+            <member>
+                <varname>out</varname>: выходные переменные (<code>vars(2)</code>);
+            </member>
+            <member>
+                <varname>nolocal</varname>: переменные, к которым обращаются, но которые не определены внутри функции и не являются функциями (<code>vars(3)</code>);
+            </member>
+            <member>
+                <varname>called</varname>: имена вызываемых функций (<code>vars(4)</code>);
+            </member>
+            <member>
+                <varname>locals</varname>: локальные переменные (<code>vars(5)</code>);
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>Примеры</title>
+        <programlisting role="example"><![CDATA[
+deff('y = f(x1, x2)', 'loc = 1; y = a*x1+x2-loc');
+vars = macrovar(f)
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Смотрите также</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="string">string</link>
+            </member>
+            <member>
+                <link linkend="macr2lst">macr2lst</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>