php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51246 [PL] Translation: http://www.php.net/manual/en/function.ngettext.php
Submitted: 2010-03-09 12:53 UTC Modified: 2010-10-23 14:05 UTC
From: norbert at linux dot pl Assigned: kalle (profile)
Status: Closed Package: Translation problem
PHP Version: 5.3.1 OS: Debian GNU/Linux Lenny AMD64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 - 4 = ?
Subscribe to this entry?

 
 [2010-03-09 12:53 UTC] 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

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-09 12:58 UTC] norbert at linux dot pl
Small mistake in completing submit form.
 [2010-03-09 22:43 UTC] yannick@php.net
-Summary: PL Translation: http://www.php.net/manual/en/function.ngettext.php +Summary: [PL] Translation: http://www.php.net/manual/en/function.ngettext.php
 [2010-10-23 14:05 UTC] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=304649
Log: Fixed bug #51246 ([PL] Translation: http://www.php.net/manual/en/function.ngettext.php)
 [2010-10-23 14:05 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-10-23 14:05 UTC] kalle@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 17:01:31 2024 UTC