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: 2020-06-04 12:49 UTC
From: xvester at gmail dot com Assigned:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 - 11 = ?
Subscribe to this entry?

 
 [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
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 14 18:01:29 2020 UTC