ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] #37972 [Opn]: Error in french translation for the array_multisort example
by Perrick At Noparking Dot Net other posts by this author
Jun 30 2006 12:53AM messages near this date
[PHP-DOC] #37972 [Opn->Csd]: Error in french translation for the array_multisort example | [PHP-DOC] Recent manually built Extended CHM has a corrupt index page.
ID:              37972
 User updated by: perrick at noparking dot net
 Reported By:     perrick at noparking dot net
 Status:          Open
 Bug Type:        Documentation problem
 PHP Version:     Irrelevant
 New Comment:

I kind of inverted the "Expected result" and the "Actual result" in my
report. Sorry about this.


Previous Comments:
------------------------------------------------------------------------

[2006-06-30 07:50:17] perrick at noparking dot net

Description:
------------
The french translation for the documentation of "array_multisort"
contains an error leading to a lot of confusion.


Reproduce code:
---------------
Here's the english part :

// Sort the data with volume descending, edition ascending
// Add $data as the last parameter, to sort by the common key
array_multisort($volume, SORT_DESC, $edition, SORT_ASC, $data);

Expected result:
----------------
Here's the french translation :

// Tri les donn�es par volume d�croissant, edition croissant
// Ajoute $data en tant que premier param�tre, pour trier par la cl�
commune
array_multisort($volume, SORT_DESC, $edition, SORT_ASC, $data);

Actual result:
--------------
And finally what I was expecting :

// Tri les donn�es par volume d�croissant, edition croissant
// Ajoute $data en tant que dernier param�tre, pour trier par la cl�
commune
array_multisort($volume, SORT_DESC, $edition, SORT_ASC, $data);

The difference : "dernier" and "premier". Their meaning are very
different (ie. opposite ;-)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37972&edit=1
Thread:
Perrick At Noparking Dot Net
jsgoupil
Perrick At Noparking Dot Net

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved