1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5 * Copyright (C) 2016 - Samuel GOUGEON
7 * Copyright (C) 2012 - 2016 - Scilab Enterprises
9 * This file is hereby licensed under the terms of the GNU GPL v2.0,
10 * pursuant to article 5.3.4 of the CeCILL v.2.1.
11 * This file was originally licensed under the terms of the CeCILL v2.1,
12 * and continues to be available under such terms.
13 * For more information, see the COPYING file which you should have received
14 * along with this program.
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="tbx_generate_pofile" xml:lang="en">
19 <refname>tbx_generate_pofile</refname>
20 <refpurpose>Extract localized strings from toolbox sources (toolbox compilation process)</refpurpose>
25 pofile = tbx_generate_pofile()
26 pofile = tbx_generate_pofile(tbx_path)
27 pofile = tbx_generate_pofile(tbx_name) // obsolete
28 pofile = tbx_generate_pofile(tbx_name, tbx_path) // obsolete
31 <refsection role="parameters">
32 <title>Arguments</title>
37 <para>path of the toolbox, use to locate files to compile.</para>
41 <term>tbx_name (obsolete)</term>
43 <para>name of the toolbox, use to name localization files and domain.</para>
45 <varname>tbx_name</varname> is now retrieved as the basename of the file
46 <literal>tbx_path/etc/*.start</literal>. This file must exist, even if it is empty.
53 <para>return the generated po file path.</para>
58 <refsection role="examples">
59 <title>Examples</title>
60 <programlisting role="example"><![CDATA[
61 tbx_generate_pofile("SCI/contrib/toolbox_skeleton")
64 <refsection role="see also">
65 <title>See also</title>
66 <simplelist type="inline">
68 <link linkend="tbx_build_localization">tbx_build_localization</link>
72 <refsection role="history">
73 <title>History</title>
76 <revnumber>5.5.0</revnumber>
77 <revdescription>Function tbx_generate_pofile added.</revdescription>
80 <revnumber>6.0.0</revnumber>
81 <revdescription>tbx_name declared obsolete. It is no longer required.</revdescription>