Doc #64861 [Com]: [DE] Error in strripos() German translation
Edit report at https://bugs.php.net/bug.php?id=64861&edit=1
ID: 64861
Comment by: cmbecker69 at gmx dot de
Reported by: eproskawetz at t-online dot de
Summary: [DE] Error in strripos() German translation
Status: Open
Type: Documentation Problem
Package: Translation problem
Operating System: Windows
PHP Version: 5.5.0RC1
Block user comment: N
Private report: N
New Comment:
> This says, that the search stop at the position offset if the
> value is positiv and if the value is negativ it starts at
> strlen-offset.
Yes. And that is how the $offset parameter is supposed to work,
see the examples given for strrpos().
The German translation is correct, albeit somewhat clumsy.
Previous Comments:
------------------------------------------------------------------------
[2013-05-16 14:33:28] eproskawetz at t-online dot de
Description:
------------
---
From manual page: http://www.php.net/function.strripos#refsect1-function.strripos-parameters
---
Test script:
---------------
offset
Wenn angegeben, wird die Suche diese Anzahl an Buchstaben vom Anfang des Strings gezählt
stoppen. Wenn der Wert negativ ist, startet die Suche stattdessen diese Anzahl an Zeichen vom Ende
des Strings aus.
This says, that the search stop at the position offset if the value is positiv and if the value is
negativ it starts at strlen-offset. Correct would be:
Wenn angegeben, wird die Suche diese Anzahl an Buchstaben vom Ende des Strings gezählt stoppen.
Wenn der Wert negativ ist, endet die Suche stattdessen diese Anzahl an Zeichen vom Anfang des
Strings aus.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64861&edit=1
Thread (6 messages)