Doc #51246 [Opn->Csd]: [PL] Translation: http://www.php.net/manual/en/function.ngettext.php
| From: | kalle@php.net | Date: | Sat, 23 Oct 2010 12:05:54 +0000 |
| Subject: | Doc #51246 [Opn->Csd]: [PL] Translation: http://www.php.net/manual/en/function.ngettext.php | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5359@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51246&edit=1
ID: 51246
Updated by: kalle@php.net
Reported by: norbert at linux dot pl
Summary: [PL] Translation:
http://www.php.net/manual/en/function.ngettext.php
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: Debian GNU/Linux Lenny AMD64
PHP Version: 5.3.1
-Assigned To:
+Assigned To: kalle
Block user comment: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-10-23 14:05:48] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=304649
Log: Fixed bug #51246 ([PL] Translation:
http://www.php.net/manual/en/function.ngettext.php)
------------------------------------------------------------------------
[2010-03-09 12:58:40] norbert at linux dot pl
Small mistake in completing submit form.
------------------------------------------------------------------------
[2010-03-09 12:53:28] norbert at linux dot pl
Description:
------------
oken -> okien
(one char is missing)
http://www.php.net/manual/en/function.ngettext.php
:
Examples
Example #1 ngettext() example
<?php
setlocale(LC_ALL, 'cs_CZ');
printf(ngettext("%d window", "%d windows", 1), 1); // 1 okno
printf(ngettext("%d window", "%d windows", 2), 2); // 2 okna
printf(ngettext("%d window", "%d windows", 5), 5); // 5 oken
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51246&edit=1