Doc #53637 [Asn->Csd]: Typo in ngettext() documentation example

From: Date: Tue, 04 Jan 2011 13:29:42 +0000
Subject: Doc #53637 [Asn->Csd]: Typo in ngettext() documentation example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5744@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53637&edit=1 ID: 53637 Updated by: aharvey@php.net Reported by: dusan dot halicky at gmail dot com Summary: Typo in ngettext() documentation example -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: all PHP Version: 5.3.4 Assigned To: aharvey Block user comment: N Private report: 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. I think it's fair to say our English is better than our Czech. :) Previous Comments: ------------------------------------------------------------------------ [2011-01-04 14:29:03] aharvey@php.net Automatic comment from SVN on behalf of aharvey Revision: http://svn.php.net/viewvc/?view=revision&revision=307080 Log: Fix doc bug #53637 (Typo in ngettext() documentation example). ------------------------------------------------------------------------ [2011-01-01 23:52:11] dusan dot halicky at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.ngettext#Examples --- setlocale(LC_ALL, 'cs_CZ'); printf(ngettext("%d window", "%d windows", 1), 1); // 1 okino printf(ngettext("%d window", "%d windows", 2), 2); // 2 okna printf(ngettext("%d window", "%d windows", 5), 5); // 5 oken On first printf line, there is "okino", it should be "okno": 1 okno 2 okna 5 oken ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53637&edit=1

« previous php.doc.bugs (#5744) next »