php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80288 [TR] Translation of example is wrong
Submitted: 2020-10-27 17:11 UTC Modified: 2020-10-27 17:24 UTC
From: iletisim at sahvemat dot com Assigned:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-10-27 17:11 UTC] 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.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-27 17:24 UTC] cmb@php.net
-Summary: Translation of example is wrong on Turkish Language +Summary: [TR] Translation of example is wrong
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Dec 05 06:01:23 2020 UTC