Edit report at https://bugs.php.net/bug.php?id=80288&edit=1
ID: 80288
Updated by: [email protected]
Reported by: iletisim at sahvemat dot com
Summary: [TR] Translation of example is wrong
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The example has been fixed in the meantime.
Previous Comments:
------------------------------------------------------------------------
[2020-10-27 17:11:34] iletisim at sahvemat dot com
Description:
------------
---
From manual page: https://php.net/function.sys-getloadavg
---
Original example:
Example #1 A sys_getloadavg() example
<?php
$load = sys_getloadavg();
if ($load[0] > 0.80) {
header('HTTP/1.1 503 Too busy, try again later');
die('Server too busy. Please try again later.');
}
?>
On Turkish form;
<?php
$load = sys_getloadavg();
if ($load[0] > 80) {
header('HTTP/1.1 503 Too busy, try again later');
die('Sunucu çok meşgul. Lütfen daha sonra tekrar deneyin.');
}
?>
As you can see on above example, Load value is served as decimal value. But on Turkish translation, it is an integer value.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80288&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.