summaryrefslogtreecommitdiff
path: root/ext/gettext
diff options
context:
space:
mode:
authorChuck Hagenbuch <chagenbu@php.net>2001-08-27 20:05:11 +0000
committerChuck Hagenbuch <chagenbu@php.net>2001-08-27 20:05:11 +0000
commit1c6bfcaa33f1c3de47768736a04f63b5e3616c0a (patch)
tree1e51431661fe127fcecd548cd769d1b6532c6fa3 /ext/gettext
parent0378e545a00cd6e35e72f9ae8af57b2cad288353 (diff)
downloadphp-git-1c6bfcaa33f1c3de47768736a04f63b5e3616c0a.tar.gz
shorter protos
Diffstat (limited to 'ext/gettext')
-rw-r--r--ext/gettext/gettext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c
index 7c77480fad..bf8b97812c 100644
--- a/ext/gettext/gettext.c
+++ b/ext/gettext/gettext.c
@@ -173,7 +173,7 @@ PHP_FUNCTION(bindtextdomain)
/* }}} */
/* {{{ proto string ngettext(string MSGID1, string MSGID2, int N)
- The `ngettext' function is similar to the `gettext' function as it finds the message catalogs in the same way. But it takes two extra arguments. The MSGID1 parameter must contain the singular form of the string to be converted. It is also used as the key for the search in the catalog. The MSGID2 parameter is the plural form. The parameter N is used to determine the plural form. If no message catalog is found MSGID1 is returned if `n == 1', otherwise `msgid2'.
+ Plural version of gettext().
*/
PHP_FUNCTION(ngettext)
{
@@ -200,7 +200,7 @@ PHP_FUNCTION(ngettext)
/* }}} */
/* {{{ proto string dngettext (string domain, string msgid1, string msgid2, long count)
- The `dngettext' is similar to the `dgettext' function in the way the message catalog is selected. The difference is that it takes two extra parameter to provide the correct plural form. These two parameters are handled in the same way `ngettext' handles them.
+ Plural version of dgettext().
*/
PHP_FUNCTION(dngettext)
{
@@ -230,7 +230,7 @@ PHP_FUNCTION(dngettext)
/* }}} */
/* {{{ proto string dcngettext (string domain, string msgid1, string msgid2, long n, int category)
- The `dcngettext' is similar to the `dcgettext' function in the way the message catalog is selected. The difference is that it takes two extra parameter to provide the correct plural form. These two parameters are handled in the same way `ngettext' handles them.
+ Plural version of dcgettext().
*/
PHP_FUNCTION(dcngettext)
{