Doc #64861 [Com]: [DE] Error in strripos() German translation

From: Date: Mon, 06 Apr 2015 21:44:54 +0000
Subject: Doc #64861 [Com]: [DE] Error in strripos() German translation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12112@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64861&edit=1

 ID:                 64861
 Comment by:         c dot jantz at vations 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:

The wording is super confusing here. 

What about this alternative: 
Wenn angegeben beginnt die Suche bei angegebener Position von Beginn des Strings an gezählt. 
Sollte der Wert negativ sein startet die Suche selbige Anzahl von Zeichen vor Ende des Strings und
sucht rückwärts.


Previous Comments:
------------------------------------------------------------------------
[2015-03-02 19:35:21] cmbecker69 at gmx dot de

> 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.

------------------------------------------------------------------------
[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)

« previous php.doc.bugs (#12112) next »