cvs: php4 /ext/gettext gettext.c

From: Date: Mon, 27 Aug 2001 20:05:13 +0000
Subject: cvs: php4 /ext/gettext gettext.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7100@lists.php.net to get a copy of this message
chagenbu Mon Aug 27 16:05:13 2001 EDT Modified files: /php4/ext/gettext gettext.c Log: shorter protos Index: php4/ext/gettext/gettext.c diff -u php4/ext/gettext/gettext.c:1.30 php4/ext/gettext/gettext.c:1.31 --- php4/ext/gettext/gettext.c:1.30 Mon Aug 27 14:43:07 2001 +++ php4/ext/gettext/gettext.c Mon Aug 27 16:05:11 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gettext.c,v 1.30 2001/08/27 18:43:07 chagenbu Exp $ */ +/* $Id: gettext.c,v 1.31 2001/08/27 20:05:11 chagenbu Exp $ */ #include <stdio.h> #ifdef HAVE_CONFIG_H @@ -173,7 +173,7 @@ /* }}} */ /* {{{ 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 @@ /* }}} */ /* {{{ 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 @@ /* }}} */ /* {{{ 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) {

« previous php.cvs (#7100) next »