[PHP-DOC] #37972 [NEW]: Error in french translation for the array_multisort example
by Perrick At Noparking Dot Net other posts by this author
Jun 30 2006 12:50AM messages near this date
[PHP-DOC] สินเชื่อดอกเบี้ยต่ำ-สำหรับผู้ทำงานประจำหรือเจ้าของกิจการหรือผู้ที่อยากเครียหนี้บัตรเครดิตหรือสินเชื่อเก่าดอกแพงๆ
|
[PHP-DOC] #37972 [Opn->Csd]: Error in french translation for the array_multisort example
From: perrick at noparking dot net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Error in french translation for the array_multisort example
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 bug report at http://bugs.php.net/?id=37972&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37972&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37972&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37972&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37972&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37972&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37972&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37972&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37972&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37972&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37972&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37972&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37972&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37972&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37972&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37972&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37972&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37972&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37972&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37972&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37972&r=mysqlcfg
Thread:
Perrick At Noparking Dot Net
jsgoupil
Perrick At Noparking Dot Net
|