added japanese translation of localization module.
[scilab.git] / scilab / modules / localization / help / ja_JP / addlocalizationdomain.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
6  *
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <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="ja" xml:id="addlocalizationdomain">
16     
17     <refnamediv>
18         
19         <refname>addlocalizationdomain</refname>
20         
21         <refpurpose>ローカライゼーション機構に新規ドメインを追加.</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>msg=addlocalizationdomain(domain, path)</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>domain</term>
42                 
43                 <listitem>
44                     
45                     <para>文字列, メッセージドメインの名前</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51             <varlistentry>
52                 
53                 <term>path</term>
54                 
55                 <listitem>
56                     
57                     <para>ドメインファイルのパス</para>
58                     
59                 </listitem>
60                 
61             </varlistentry>
62             
63         </variablelist>
64         
65     </refsection>
66     
67     <refsection>
68         
69         <title>例</title>
70         
71         <programlisting role="example"><![CDATA[
72 setlanguage("fr_FR");
73 gettext("Startup execution:")
74 _("Startup execution:")
75 addlocalizationdomain("tbx", "SCI/modules/localization/tests/unit_tests/locale")
76 gettext("tbx", "%s: something not in Scilab.\n")
77 _("tbx", "%s: something not in Scilab.\n")
78  ]]></programlisting>
79         
80     </refsection>
81     
82     <refsection role="see also">
83         
84         <title>参照</title>
85         
86         <simplelist type="inline">
87             
88             <member>
89                 
90                 <link linkend="gettext">gettext</link>
91                 
92             </member>
93             
94         </simplelist>
95         
96     </refsection>
97     
98     <refsection>
99         
100         <title>履歴</title>
101         
102         <revhistory>
103             
104             <revision>
105                 
106                 <revnumber>5.5.0</revnumber>
107                 
108                 <revdescription>
109                     
110                     addlocalizationdomain 関数が追加されました.
111                     
112                 </revdescription>
113                 
114             </revision>
115             
116         </revhistory>
117         
118     </refsection>
119     
120 </refentry>
121