src/I18n/Gettext/Extractors/Po.php
private static function fixMultiLines($line, array $lines, &$i)
    {
        for ($j = $i, $t = \count($lines); $j < $t; ++$j) {
            if (\substr($line, -1, 1) == '"'
                && isset($lines[$j + 1])
                && \substr(\trim($lines[$j + 1]), 0, 1) == '"'
            ) {
                $line = \substr($line, 0, -1) . \substr(\trim($lines[$j + 1]), 1);
            } else {
                $i = $j;
                break;
            }
        }

        return $line;
    }
private static function fixMultiLines($line, array $lines, &$i)
    {
        for ($j = $i, $t = \count($lines); $j < $t; ++$j) {
            if (\substr($line, -1, 1) == '"'
                && isset($lines[$j + 1])
                && \substr(\trim($lines[$j + 1]), 0, 1) == '"'
            ) {
                $line = \substr($line, 0, -1) . \substr(\trim($lines[$j + 1]), 1);
            } else {
                $i = $j;
                break;
            }
        }

        return $line;
    }
private static function fixMultiLines ( $ line , array $ lines , & $ i ) { for ( $ j = $ i , $ t = \ count ( $ lines ) ; $ j < $ t ; ++ $ j ) { if ( \ substr ( $ line , - 1 , 1 ) == '"' && isset ( $ lines [ $ j + 1 ] ) && \ substr ( \ trim ( $ lines [ $ j + 1 ] ) , 0 , 1 ) == '"' ) { $ line = \ substr ( $ line , 0 , - 1 ) . \ substr ( \ trim ( $ lines [ $ j + 1 ] ) , 1 ) ; } else { $ i = $ j ; break ; } } return $ line ; }
Gets one string from multiline strings.

@param string $line
@param array  $lines
@param int    &$i

@return string
Gets one string from multiline strings .