Doc #66567 [Opn->Csd]: [FR] description of log_errors claims it allows choosing logs location

From: Date: Fri, 20 Jun 2014 08:03:23 +0000
Subject: Doc #66567 [Opn->Csd]: [FR] description of log_errors claims it allows choosing logs location
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11293@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66567&edit=1 ID: 66567 Updated by: yannick@php.net Reported by: chealer at gmail dot com Summary: [FR] description of log_errors claims it allows choosing logs location -Status: Open +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: Irrelevant -Assigned To: +Assigned To: yannick 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. Previous Comments: ------------------------------------------------------------------------ [2014-06-20 08:01:53] yannick@php.net Automatic comment from SVN on behalf of yannick Revision: http://svn.php.net/viewvc/?view=revision&revision=333855 Log: Fix bug #66567 ------------------------------------------------------------------------ [2014-01-24 02:24:34] chealer at gmail dot com Description: ------------ The description of log_errors is: log_errors boolean Tells whether script error messages should be logged to the server's error log or error_log. This option is thus server-specific. Note: You're strongly advised to use error logging in place of error displaying on production web sites. The French translation reads: Indique où les messages d'erreur générés doivent être écrits : dans l'historique du serveur ou dans error_log. Cette fonction est spécifique aux serveurs. Note: Il est recommandé d'utiliser l'historique d'erreur, plutôt que d'afficher les erreurs sur les sites de production. The first sentence is incorrect. In English, it means: Indicates where generated error messages should be written: in the server's history or in error_log. error_log is the directive allowing to choose how to log. log_errors is just a boolean determining whether PHP should log errors or not. An appropriate translation would be: Indique si les messages d'erreur générés par les scripts devraient être journalisés dans le journal d'erreurs du serveur ou dans error_log. Note that the French translation team should not take all the blame for this. The English version is fairly unclear. The following sentence ("This option is thus server-specific.") belongs to error_log's description, not here. I suggest replacing the whole English paragraph with just: Tells whether script error messages should be logged. The only problem with that is it doesn't refer to error_log, which the reader will naturally want to learn about next. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66567&edit=1

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