php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79674 [ES] Wrong translation in PDO::lastInsertId()
Submitted: 2020-06-04 12:29 UTC Modified: 2021-02-03 17:29 UTC
From: xvester at gmail dot com Assigned: julionc (profile)
Status: Closed Package: Translation 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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xvester at gmail dot com
New email:
PHP Version: OS:

 

 [2020-06-04 12:29 UTC] xvester at gmail dot com
Description:
------------
---
From manual page: https://php.net/pdo.lastinsertid
---

In the Spanish translation, the first paragraph in section RETURN VALUES: 
"Si el nombre de la secuencia no se especifica en el parámetro name, PDO::lastInsertId() devuelve una cadena representando el ID de la última columna que ha sido insertada en la base de datos."

This is wrong. PDO::lastInsertId() returns the ID of the last **row** inserted, not the last column.

It should read: 
"Si el nombre de la secuencia no se especifica en el parámetro name, PDO::lastInsertId() devuelve una cadena representando el ID de la última fila que ha sido insertada en la base de datos."

I can't edit the manual, it takes forever when I click on "edit".



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-06-04 12:49 UTC] cmb@php.net
-Summary: Wrong translation in PDO::lastInsertId() - Spanish +Summary: [ES] Wrong translation in PDO::lastInsertId() -Package: PDO related +Package: Translation problem
 [2021-02-03 17:29 UTC] julionc@php.net
-Assigned To: +Assigned To: julionc
 [2021-02-03 17:29 UTC] julionc@php.net
Automatic comment on behalf of julionc
Revision: http://git.php.net/?p=doc/es.git;a=commit;h=e67cba4c3b258e0e56e6c6a9de730e40c86949a5
Log: Fix #79674[ES] Wrong translation in PDO::lastInsertId()
 [2021-02-03 17:29 UTC] julionc@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC