Continued:
- added spaces - made a code block even Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
177a0c8320
commit
1d48801d70
1 changed files with 6 additions and 5 deletions
|
@ -86,10 +86,11 @@ function po2php_run(&$argv, &$argc) {
|
|||
}
|
||||
$match = array();
|
||||
preg_match("|\[([0-9]*)\] (.*)|", $l, $match);
|
||||
$out .= "\t".
|
||||
preg_replace_callback($escape_s_exp,'escape_s',$match[1])
|
||||
." => "
|
||||
.preg_replace_callback($escape_s_exp,'escape_s',$match[2]) .",\n";
|
||||
$out .= "\t"
|
||||
. preg_replace_callback($escape_s_exp, 'escape_s', $match[1])
|
||||
. " => "
|
||||
. preg_replace_callback($escape_s_exp, 'escape_s', $match[2])
|
||||
. ",\n";
|
||||
}
|
||||
|
||||
if (substr($l, 0, 6) == "msgid_") {
|
||||
|
@ -99,7 +100,7 @@ function po2php_run(&$argv, &$argc) {
|
|||
|
||||
if ($ink) {
|
||||
$k .= trim($l,"\"\r\n");
|
||||
$k = preg_replace_callback($escape_s_exp,'escape_s',$k);
|
||||
$k = preg_replace_callback($escape_s_exp, 'escape_s', $k);
|
||||
//$out .= '$a->strings['.$k.'] = ';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue