philip Mon Jan 15 02:06:20 2007 UTC
Modified files:
/phpdoc/en/reference/gettext/functions bind-textdomain-codeset.xml
bindtextdomain.xml
dcgettext.xml dcngettext.xml
dgettext.xml dngettext.xml
gettext.xml ngettext.xml
Log:
WS, preparing for new doc style
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/bind-textdomain-codeset.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/gettext/functions/bind-textdomain-codeset.xml
diff -u phpdoc/en/reference/gettext/functions/bind-textdomain-codeset.xml:1.3
phpdoc/en/reference/gettext/functions/bind-textdomain-codeset.xml:1.4
--- phpdoc/en/reference/gettext/functions/bind-textdomain-codeset.xml:1.3
Tue Apr 27 11:31:05 2004
+++ phpdoc/en/reference/gettext/functions/bind-textdomain-codeset.xml Mon Jan
15 02:06:20 2007
@@ -1,28 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.17 -->
- <refentry id='function.bind-textdomain-codeset'>
- <refnamediv>
- <refname>bind_textdomain_codeset</refname>
- <refpurpose>
- Specify the character encoding in which the messages from the
- DOMAIN message catalog will be returned
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>bind_textdomain_codeset</methodname>
-
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
-
<methodparam><type>string</type><parameter>codeset</parameter></methodparam>
- </methodsynopsis>
- <para>
- With <function>bind_textdomain_codeset</function>, you can set in which
- encoding will be messages from <parameter>domain</parameter> returned by
- <function>gettext</function> and similar functions.
- </para>
- </refsect1>
- </refentry>
+<refentry id='function.bind-textdomain-codeset'>
+ <refnamediv>
+ <refname>bind_textdomain_codeset</refname>
+ <refpurpose>Specify the character encoding in which the messages from the
DOMAIN message catalog will be returned</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>bind_textdomain_codeset</methodname>
+ <methodparam><type>string</type><parameter>domain</parameter></methodparam>
+ <methodparam><type>string</type><parameter>codeset</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ With <function>bind_textdomain_codeset</function>, you can set in which
+ encoding will be messages from <parameter>domain</parameter> returned by
+ <function>gettext</function> and similar functions.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/bindtextdomain.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/gettext/functions/bindtextdomain.xml
diff -u phpdoc/en/reference/gettext/functions/bindtextdomain.xml:1.4
phpdoc/en/reference/gettext/functions/bindtextdomain.xml:1.5
--- phpdoc/en/reference/gettext/functions/bindtextdomain.xml:1.4 Thu Jul
29 14:29:27 2004
+++ phpdoc/en/reference/gettext/functions/bindtextdomain.xml Mon Jan 15
02:06:20 2007
@@ -1,48 +1,48 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.2 -->
- <refentry id="function.bindtextdomain">
- <refnamediv>
- <refname>bindtextdomain</refname>
- <refpurpose>Sets the path for a domain</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>bindtextdomain</methodname>
-
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
-
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
- </methodsynopsis>
- <para>
- The <function>bindtextdomain</function> function sets the path
- for a domain. It returns the full pathname for the domain currently being
- set.
- </para>
- <para>
- <example>
- <title><function>bindtextdomain</function> example</title>
- <programlisting role="php">
+<refentry id="function.bindtextdomain">
+ <refnamediv>
+ <refname>bindtextdomain</refname>
+ <refpurpose>Sets the path for a domain</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>bindtextdomain</methodname>
+ <methodparam><type>string</type><parameter>domain</parameter></methodparam>
+
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The <function>bindtextdomain</function> function sets the path
+ for a domain. It returns the full pathname for the domain currently being
+ set.
+ </para>
+ <para>
+ <example>
+ <title><function>bindtextdomain</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$domain = 'myapp';
-echo bindtextdomain($domain, '/usr/share/myapp/locale');
+echo bindtextdomain($domain, '/usr/share/myapp/locale');
?>
]]>
- </programlisting>
- <para>
- This will output:
- </para>
- <screen>
+ </programlisting>
+ <para>
+ This will output:
+ </para>
+ <screen>
<![CDATA[
/usr/share/myapp/locale
]]>
- </screen>
- </example>
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/dcgettext.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/gettext/functions/dcgettext.xml
diff -u phpdoc/en/reference/gettext/functions/dcgettext.xml:1.3
phpdoc/en/reference/gettext/functions/dcgettext.xml:1.4
--- phpdoc/en/reference/gettext/functions/dcgettext.xml:1.3 Tue Apr 27
11:31:05 2004
+++ phpdoc/en/reference/gettext/functions/dcgettext.xml Mon Jan 15 02:06:20 2007
@@ -1,29 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.2 -->
- <refentry id="function.dcgettext">
- <refnamediv>
- <refname>dcgettext</refname>
- <refpurpose>Overrides the domain for a single lookup</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>dcgettext</methodname>
-
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
-
<methodparam><type>string</type><parameter>message</parameter></methodparam>
-
<methodparam><type>int</type><parameter>category</parameter></methodparam>
- </methodsynopsis>
- <para>
- This function allows you to override the current domain for a
- single message lookup. It also allows you to specify a
- <parameter>category</parameter>.
- </para>
- <para>
- See also <function>gettext</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.dcgettext">
+ <refnamediv>
+ <refname>dcgettext</refname>
+ <refpurpose>Overrides the domain for a single lookup</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>dcgettext</methodname>
+ <methodparam><type>string</type><parameter>domain</parameter></methodparam>
+ <methodparam><type>string</type><parameter>message</parameter></methodparam>
+ <methodparam><type>int</type><parameter>category</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ This function allows you to override the current domain for a
+ single message lookup. It also allows you to specify a
+ <parameter>category</parameter>.
+ </para>
+ <para>
+ See also <function>gettext</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/dcngettext.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/gettext/functions/dcngettext.xml
diff -u phpdoc/en/reference/gettext/functions/dcngettext.xml:1.3
phpdoc/en/reference/gettext/functions/dcngettext.xml:1.4
--- phpdoc/en/reference/gettext/functions/dcngettext.xml:1.3 Tue Apr 27
11:31:05 2004
+++ phpdoc/en/reference/gettext/functions/dcngettext.xml Mon Jan 15
02:06:20 2007
@@ -1,31 +1,31 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 -->
- <refentry id='function.dcngettext'>
- <refnamediv>
- <refname>dcngettext</refname>
- <refpurpose>Plural version of dcgettext</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>dcngettext</methodname>
-
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
-
<methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
-
<methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
- <methodparam><type>int</type><parameter>n</parameter></methodparam>
-
<methodparam><type>int</type><parameter>category</parameter></methodparam>
- </methodsynopsis>
- <para>
- This function allows you to override the current domain for a
- single plural message lookup. It also allows you to specify a
- <parameter>category</parameter>.
- </para>
- <para>
- See also <function>ngettext</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id='function.dcngettext'>
+ <refnamediv>
+ <refname>dcngettext</refname>
+ <refpurpose>Plural version of dcgettext</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>dcngettext</methodname>
+ <methodparam><type>string</type><parameter>domain</parameter></methodparam>
+ <methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
+ <methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
+ <methodparam><type>int</type><parameter>n</parameter></methodparam>
+ <methodparam><type>int</type><parameter>category</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ This function allows you to override the current domain for a
+ single plural message lookup. It also allows you to specify a
+ <parameter>category</parameter>.
+ </para>
+ <para>
+ See also <function>ngettext</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/dgettext.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/gettext/functions/dgettext.xml
diff -u phpdoc/en/reference/gettext/functions/dgettext.xml:1.3
phpdoc/en/reference/gettext/functions/dgettext.xml:1.4
--- phpdoc/en/reference/gettext/functions/dgettext.xml:1.3 Tue Apr 27
11:31:05 2004
+++ phpdoc/en/reference/gettext/functions/dgettext.xml Mon Jan 15 02:06:20 2007
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.2 -->
- <refentry id="function.dgettext">
- <refnamediv>
- <refname>dgettext</refname>
- <refpurpose>Override the current domain</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>dgettext</methodname>
-
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
-
<methodparam><type>string</type><parameter>message</parameter></methodparam>
- </methodsynopsis>
- <para>
- The <function>dgettext</function> function allows you to override
- the current domain for a single message lookup.
- </para>
- <para>
- See also <function>gettext</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.dgettext">
+ <refnamediv>
+ <refname>dgettext</refname>
+ <refpurpose>Override the current domain</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>dgettext</methodname>
+ <methodparam><type>string</type><parameter>domain</parameter></methodparam>
+ <methodparam><type>string</type><parameter>message</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The <function>dgettext</function> function allows you to override
+ the current domain for a single message lookup.
+ </para>
+ <para>
+ See also <function>gettext</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/dngettext.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/gettext/functions/dngettext.xml
diff -u phpdoc/en/reference/gettext/functions/dngettext.xml:1.3
phpdoc/en/reference/gettext/functions/dngettext.xml:1.4
--- phpdoc/en/reference/gettext/functions/dngettext.xml:1.3 Tue Apr 27
11:31:05 2004
+++ phpdoc/en/reference/gettext/functions/dngettext.xml Mon Jan 15 02:06:20 2007
@@ -1,29 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 -->
- <refentry id='function.dngettext'>
- <refnamediv>
- <refname>dngettext</refname>
- <refpurpose>Plural version of dgettext</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>dngettext</methodname>
-
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
-
<methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
-
<methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
- <methodparam><type>int</type><parameter>n</parameter></methodparam>
- </methodsynopsis>
- <para>
- The <function>dngettext</function> function allows you to override
- the current domain for a single plural message lookup.
- </para>
- <para>
- See also <function>ngettext</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id='function.dngettext'>
+ <refnamediv>
+ <refname>dngettext</refname>
+ <refpurpose>Plural version of dgettext</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>dngettext</methodname>
+ <methodparam><type>string</type><parameter>domain</parameter></methodparam>
+ <methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
+ <methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
+ <methodparam><type>int</type><parameter>n</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The <function>dngettext</function> function allows you to override
+ the current domain for a single plural message lookup.
+ </para>
+ <para>
+ See also <function>ngettext</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/gettext.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/gettext/functions/gettext.xml
diff -u phpdoc/en/reference/gettext/functions/gettext.xml:1.8
phpdoc/en/reference/gettext/functions/gettext.xml:1.9
--- phpdoc/en/reference/gettext/functions/gettext.xml:1.8 Mon Mar 29
14:27:13 2004
+++ phpdoc/en/reference/gettext/functions/gettext.xml Mon Jan 15 02:06:20 2007
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.2 -->
- <refentry id="function.gettext">
- <refnamediv>
- <refname>gettext</refname>
- <refpurpose>Lookup a message in the current domain</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>gettext</methodname>
-
<methodparam><type>string</type><parameter>message</parameter></methodparam>
- </methodsynopsis>
- <para>
- This function returns a translated string if one is found in the
- translation table, or the submitted message if not found. You may
- use the underscore character '_' as an alias to this function.
- </para>
- <example>
- <title><function>gettext</function>-check</title>
- <programlisting role="php">
+<refentry id="function.gettext">
+ <refnamediv>
+ <refname>gettext</refname>
+ <refpurpose>Lookup a message in the current domain</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>gettext</methodname>
+ <methodparam><type>string</type><parameter>message</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ This function returns a translated string if one is found in the
+ translation table, or the submitted message if not found. You may
+ use the underscore character '_' as an alias to this function.
+ </para>
+ <example>
+ <title><function>gettext</function>-check</title>
+ <programlisting role="php">
<![CDATA[
<?php
// Set language to German
@@ -40,14 +40,14 @@
echo _("Have a nice day");
?>
]]>
- </programlisting>
- </example>
- <para>
- See also
- <function>setlocale</function>.
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ <para>
+ See also
+ <function>setlocale</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gettext/functions/ngettext.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/gettext/functions/ngettext.xml
diff -u phpdoc/en/reference/gettext/functions/ngettext.xml:1.3
phpdoc/en/reference/gettext/functions/ngettext.xml:1.4
--- phpdoc/en/reference/gettext/functions/ngettext.xml:1.3 Tue Apr 27
11:31:05 2004
+++ phpdoc/en/reference/gettext/functions/ngettext.xml Mon Jan 15 02:06:20 2007
@@ -1,29 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 -->
- <refentry id="function.ngettext">
- <refnamediv>
- <refname>ngettext</refname>
- <refpurpose>Plural version of gettext</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>ngettext</methodname>
-
<methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
-
<methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
- <methodparam><type>int</type><parameter>n</parameter></methodparam>
- </methodsynopsis>
- <para>
- <function>ngettext</function> returns correct plural form of message
- identified by <parameter>msgid1</parameter> and
<parameter>msgid2</parameter>
- for count <parameter>n</parameter>. Some languages have more than one form
- for plural messages dependent on the count.
- </para>
- <para>
- <example>
- <title><function>ngettext</function> example</title>
- <programlisting role="php">
+<refentry id="function.ngettext">
+ <refnamediv>
+ <refname>ngettext</refname>
+ <refpurpose>Plural version of gettext</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>ngettext</methodname>
+ <methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
+ <methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
+ <methodparam><type>int</type><parameter>n</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>ngettext</function> returns correct plural form of message
+ identified by <parameter>msgid1</parameter> and
<parameter>msgid2</parameter>
+ for count <parameter>n</parameter>. Some languages have more than one form
+ for plural messages dependent on the count.
+ </para>
+ <para>
+ <example>
+ <title><function>ngettext</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
@@ -34,11 +34,11 @@
?>
]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: