svn: /phpdoc/ja/trunk/reference/gettext/functions/ bind-textdomain-codeset.xml bindtextdomain.xml dcngettext.xml dngettext.xml ngettext.xml textdomain.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Wed, 18 Nov 2020 21:46:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351429 Log: Generate gettext methodsynopses based on stubs Patch contributed by Máté Kocsis <[email protected]>. Changed paths: U phpdoc/ja/trunk/reference/gettext/functions/bind-textdomain-codeset.xml U phpdoc/ja/trunk/reference/gettext/functions/bindtextdomain.xml U phpdoc/ja/trunk/reference/gettext/functions/dcngettext.xml U phpdoc/ja/trunk/reference/gettext/functions/dngettext.xml U phpdoc/ja/trunk/reference/gettext/functions/ngettext.xml U phpdoc/ja/trunk/reference/gettext/functions/textdomain.xml
svn-diffs-351429.txt
(text/x-diff, 11.3 KB)
Modified: phpdoc/ja/trunk/reference/gettext/functions/bind-textdomain-codeset.xml
===================================================================
--- phpdoc/ja/trunk/reference/gettext/functions/bind-textdomain-codeset.xml 2020-11-18 21:38:56 UTC (rev 351428)
+++ phpdoc/ja/trunk/reference/gettext/functions/bind-textdomain-codeset.xml 2020-11-18 21:46:57 UTC (rev 351429)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<refentry xml:id='function.bind-textdomain-codeset' xmlns="http://docbook.org/ns/docbook">
+<!-- EN-Revision: 351407 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
+<refentry xml:id="function.bind-textdomain-codeset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>bind_textdomain_codeset</refname>
<refpurpose>DOMAIN メッセージカタログから返されるメッセージの文字エンコーディングを指定する</refpurpose>
@@ -10,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>bind_textdomain_codeset</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>bind_textdomain_codeset</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
<methodparam><type>string</type><parameter>codeset</parameter></methodparam>
</methodsynopsis>
@@ -53,7 +54,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/gettext/functions/bindtextdomain.xml
===================================================================
--- phpdoc/ja/trunk/reference/gettext/functions/bindtextdomain.xml 2020-11-18 21:38:56 UTC (rev 351428)
+++ phpdoc/ja/trunk/reference/gettext/functions/bindtextdomain.xml 2020-11-18 21:46:57 UTC (rev 351429)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.bindtextdomain" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>bindtextdomain</refname>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>bindtextdomain</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>bindtextdomain</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
</methodsynopsis>
@@ -75,7 +75,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/gettext/functions/dcngettext.xml
===================================================================
--- phpdoc/ja/trunk/reference/gettext/functions/dcngettext.xml 2020-11-18 21:38:56 UTC (rev 351428)
+++ phpdoc/ja/trunk/reference/gettext/functions/dcngettext.xml 2020-11-18 21:46:57 UTC (rev 351429)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<refentry xml:id='function.dcngettext' xmlns="http://docbook.org/ns/docbook">
+<!-- EN-Revision: 351407 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
+<refentry xml:id="function.dcngettext" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>dcngettext</refname>
<refpurpose>dcgettext の複数形版</refpurpose>
@@ -11,9 +12,9 @@
<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>string</type><parameter>singular</parameter></methodparam>
+ <methodparam><type>string</type><parameter>plural</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
<methodparam><type>int</type><parameter>category</parameter></methodparam>
</methodsynopsis>
<para>
@@ -35,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid1</parameter></term>
+ <term><parameter>singular</parameter></term>
<listitem>
<para>
</para>
@@ -42,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid2</parameter></term>
+ <term><parameter>plural</parameter></term>
<listitem>
<para>
</para>
@@ -49,7 +50,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>n</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
</para>
@@ -82,7 +83,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/gettext/functions/dngettext.xml
===================================================================
--- phpdoc/ja/trunk/reference/gettext/functions/dngettext.xml 2020-11-18 21:38:56 UTC (rev 351428)
+++ phpdoc/ja/trunk/reference/gettext/functions/dngettext.xml 2020-11-18 21:46:57 UTC (rev 351429)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<refentry xml:id='function.dngettext' xmlns="http://docbook.org/ns/docbook">
+<!-- EN-Revision: 351407 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
+<refentry xml:id="function.dngettext" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>dngettext</refname>
<refpurpose>dgettext の複数形版</refpurpose>
@@ -12,9 +13,9 @@
<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>
+ <methodparam><type>string</type><parameter>singular</parameter></methodparam>
+ <methodparam><type>string</type><parameter>plural</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
</methodsynopsis>
<para>
<function>dngettext</function> 関数により、単一の複数形メッセージ参照について
@@ -35,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid1</parameter></term>
+ <term><parameter>singular</parameter></term>
<listitem>
<para>
</para>
@@ -42,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid2</parameter></term>
+ <term><parameter>plural</parameter></term>
<listitem>
<para>
</para>
@@ -49,7 +50,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>n</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
</para>
@@ -75,7 +76,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/gettext/functions/ngettext.xml
===================================================================
--- phpdoc/ja/trunk/reference/gettext/functions/ngettext.xml 2020-11-18 21:38:56 UTC (rev 351428)
+++ phpdoc/ja/trunk/reference/gettext/functions/ngettext.xml 2020-11-18 21:46:57 UTC (rev 351429)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337680 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.ngettext" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ngettext</refname>
@@ -11,9 +11,9 @@
&reftitle.description;
<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>
+ <methodparam><type>string</type><parameter>singular</parameter></methodparam>
+ <methodparam><type>string</type><parameter>plural</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
</methodsynopsis>
<para>
複数形版の <function>gettext</function> です。
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>msgid1</parameter></term>
+ <term><parameter>singular</parameter></term>
<listitem>
<para>
単数形のメッセージ ID。
@@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid2</parameter></term>
+ <term><parameter>plural</parameter></term>
<listitem>
<para>
複数形のメッセージ ID。
@@ -42,7 +42,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>n</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
数 (件数など)。この数にあわせて翻訳を決定します。
@@ -56,8 +56,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>msgid1</parameter> および <parameter>msgid2</parameter>
- で表されるメッセージの、数 <parameter>n</parameter>
+ <parameter>singular</parameter> および <parameter>plural</parameter>
+ で表されるメッセージの、数 <parameter>count</parameter>
に対応する複数形を返します。
</para>
</refsect1>
@@ -83,7 +83,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/gettext/functions/textdomain.xml
===================================================================
--- phpdoc/ja/trunk/reference/gettext/functions/textdomain.xml 2020-11-18 21:38:56 UTC (rev 351428)
+++ phpdoc/ja/trunk/reference/gettext/functions/textdomain.xml 2020-11-18 21:46:57 UTC (rev 351429)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- splitted from ./ja/functions/gettext.xml, last change in rev 1.1 -->
-<!-- EN-Revision: 341378 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.textdomain" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>textdomain</refname>
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>text_domain</parameter></term>
+ <term><parameter>domain</parameter></term>
<listitem>
<para>
新しいメッセージドメイン。&null; を指定すると、現在の設定をそのまま
@@ -46,7 +46,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml