php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #30574 Very bad translation in french in mysqli_connect_error
Submitted: 2004-10-27 05:21 UTC Modified: 2004-10-27 15:14 UTC
From: Benoit dot Tremblay at nerdzteam dot net Assigned: didou (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Benoit dot Tremblay at nerdzteam dot net
New email:
PHP Version: OS:

 

 [2004-10-27 05:21 UTC] Benoit dot Tremblay at nerdzteam dot net
Description:
------------
Just check what is write in french in the mysqli_connect_error PHP documentation (http://ca.php.net/manual/fr/function.mysqli-connect-error.php) in description section. That is write mysqli_connect_error is same than this function (wow I know how to use that now ;)) and mysqli_connect_errno return the same error but with the error number. You repeat two time that and that wants nothing to say. Check in english documentation that is better.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-27 05:32 UTC] Benoit dot Tremblay at nerdzteam dot net
Oops sorry I have double check and the translation is correct but the construction of the sentence confuse me. It of would be worked the sentence for avoided well the repetition also.
 [2004-10-27 12:20 UTC] didou@php.net
how would you reword it ? The sentence seems clear to me.
 [2004-10-27 13:52 UTC] Benoit dot Tremblay at nerdzteam dot net
In my opinion this way is better:
"mysql_connect_error() retourne un message d'erreur, li? au dernier appel ? mysql_connect(), qui correspond au num?ro retourn? de la fonction mysql_connect_errno. Si aucune erreur ne survient, cette fonction retourne la cha?ne vide."

It's your decision if you think the current defenition is better than mine.
 [2004-10-27 15:14 UTC] didou@php.net
I reworded it as you suggested (changing mysql_ to mysqli_ ;) ). Your comments are always welcome, but when you suggest a rewording, it's always a good thing to say what's on your mind  !

Thank you for your feedback
 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of didou
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=23b9d9ce4b993e1ffba01332dab2f47e1b6c82c8
Log: fix #30574
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 00:00:03 2025 UTC