autodoc.git / traditional_manual / chapter_21.html

version» Context lines:

autodoc.git/traditional_manual/chapter_21.html:26676:   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>textdomain</b></span>   </dt>   <dd><p><code><code class='datatype'>string</code> <b><span class='method'>textdomain</span>(</b><code class='datatype'>void</code>|<code class='datatype'>string</code> <code class='argument'>domain</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>The textdomain() function sets or queries the name of the    current domain of the active <code>LC_MESSAGES</code> locale category. The    <code>domain</code> argument is a string that can contain only the -  characters allowed in legal filenames.</p> +  characters allowed in legal filenames. It must be non-empty.</p>   <p> The domain argument is the unique name of a domain on the    system. If there are multiple versions of the same domain on    one system, namespace collisions can be avoided by using    <code>bindtextdomain()</code>. If textdomain() is not called, a default    domain is selected. The setting of domain made by the last    valid call to textdomain() remains valid across subsequent    calls to <code>setlocale()</code>, and <code>gettext()</code>.</p>   </dd>   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p>The normal return value from textdomain() is a string