From: sevcik at gmail dot com
Operating system: any
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Confusing czech translation on online help
Description:
------------
There is confusing czech translation for mysql_affected_rows at
http://cz.php.net/manual/cs/function.mysql-affected-rows.php
Reproduce code:
---------------
Go to http://cz.php.net/manual/cs/function.mysql-affected-rows.php
There is a notice about transaction, which is wrong in czech translation.
Transactions: If you are using transactions, you need to call
mysql_affected_rows() after your INSERT, UPDATE, or DELETE query, not
after the COMMIT.
Expected result:
----------------
Expected czech translation:
Poznámka: Používáte-li transakce, je nutné mysql_affected_rows()
volat ihned po dotazu INSERT, UPDATE nebo DELETE, nikoli až po
potvrzení transakce.
Actual result:
--------------
Current czech translation:
Poznámka: Používáte-li transakce, je nutné mysql_affected_rows()
volat až po dotazu INSERT, UPDATE nebo DELETE, nikoli hned po
potvrzení transakce.
Prepositions are used in wrong meaning and make people confused, if you
have to call it after UPDATE or it' allowed to call it after COMMIT.
-- Edit bug report at http://bugs.php.net/?id=40834&edit=1
-- Fixed in CVS: http://bugs.php.net/fix.php?id=40834&r=fixedcvs